From e39dafb584db88482bf39b22d550da59d1a0c64c Mon Sep 17 00:00:00 2001 From: Boris Rybalkin Date: Sat, 15 Sep 2018 07:12:00 +0100 Subject: [PATCH] gui: LDAP counts as authentication (#5196) --- gui/default/syncthing/core/syncthingController.js | 1 + 1 file changed, 1 insertion(+) diff --git a/gui/default/syncthing/core/syncthingController.js b/gui/default/syncthing/core/syncthingController.js index 1450f07f..12f13b2e 100755 --- a/gui/default/syncthing/core/syncthingController.js +++ b/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) {