mirror of
https://github.com/octoleo/syncthing.git
synced 2024-11-10 07:11:08 +00:00
This commit is contained in:
parent
a523fef78e
commit
1b32e9f858
@ -537,7 +537,7 @@ angular.module('syncthing.core')
|
||||
&& guiCfg.authMode !== 'ldap'
|
||||
&& !guiCfg.insecureAdminAccess;
|
||||
|
||||
if (guiCfg.user && guiCfg.password) {
|
||||
if ((guiCfg.user && guiCfg.password) || guiCfg.authMode === 'ldap') {
|
||||
$scope.dismissNotification('authenticationUserAndPassword');
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user