Explorar o código

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

Boris Rybalkin %!s(int64=2) %!d(string=hai) anos
pai
achega
1b32e9f858
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      gui/default/syncthing/core/syncthingController.js

+ 1 - 1
gui/default/syncthing/core/syncthingController.js

@@ -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');
             }
         }