mirror of
https://github.com/octoleo/syncthing.git
synced 2024-12-23 03:18:59 +00:00
gui: LDAP counts as authentication (#5196)
This commit is contained in:
parent
710dba7f84
commit
e39dafb584
@ -392,6 +392,7 @@ angular.module('syncthing.core')
|
|||||||
$scope.openNoAuth = guiCfg.address.substr(0, 4) !== "127."
|
$scope.openNoAuth = guiCfg.address.substr(0, 4) !== "127."
|
||||||
&& guiCfg.address.substr(0, 6) !== "[::1]:"
|
&& guiCfg.address.substr(0, 6) !== "[::1]:"
|
||||||
&& (!guiCfg.user || !guiCfg.password)
|
&& (!guiCfg.user || !guiCfg.password)
|
||||||
|
&& guiCfg.authMode !== 'ldap'
|
||||||
&& !guiCfg.insecureAdminAccess;
|
&& !guiCfg.insecureAdminAccess;
|
||||||
|
|
||||||
if (!hasConfig) {
|
if (!hasConfig) {
|
||||||
|
Loading…
Reference in New Issue
Block a user