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