gui: Automatically dismiss authentication reminder when in LDAP mode (fixes #8661) (#8663)

This commit is contained in:
Boris Rybalkin
2022-11-10 08:14:47 +01:00
committed by GitHub
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');
}
}