mirror of
https://github.com/octoleo/syncthing.git
synced 2024-12-22 19:08:58 +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."
|
||||
&& guiCfg.address.substr(0, 6) !== "[::1]:"
|
||||
&& (!guiCfg.user || !guiCfg.password)
|
||||
&& guiCfg.authMode !== 'ldap'
|
||||
&& !guiCfg.insecureAdminAccess;
|
||||
|
||||
if (!hasConfig) {
|
||||
|
Loading…
Reference in New Issue
Block a user