Browse Source

gui: LDAP counts as authentication (#5196)

Boris Rybalkin 7 years ago
parent
commit
e39dafb584
1 changed files with 1 additions and 0 deletions
  1. 1 0
      gui/default/syncthing/core/syncthingController.js

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

@@ -392,6 +392,7 @@ angular.module('syncthing.core')
             $scope.openNoAuth = guiCfg.address.substr(0, 4) !== "127."
                 && guiCfg.address.substr(0, 6) !== "[::1]:"
                 && (!guiCfg.user || !guiCfg.password)
+                && guiCfg.authMode !== 'ldap'
                 && !guiCfg.insecureAdminAccess;
 
             if (!hasConfig) {