Skip to content

Commit

Permalink
gui: Automatically dismiss authentication reminder when in LDAP mode (f…
Browse files Browse the repository at this point in the history
…ixes #8661) (#8663)
  • Loading branch information
cyberb committed Nov 10, 2022
1 parent a523fef commit 1b32e9f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gui/default/syncthing/core/syncthingController.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
}
}
Expand Down

0 comments on commit 1b32e9f

Please sign in to comment.