mirror of
https://github.com/octoleo/syncthing.git
synced 2024-11-09 14:50:56 +00:00
This commit is contained in:
parent
757d9a5333
commit
cff7a091f5
@ -439,6 +439,7 @@ angular.module('syncthing.core')
|
|||||||
var guiCfg = $scope.config.gui;
|
var guiCfg = $scope.config.gui;
|
||||||
$scope.openNoAuth = addr.substr(0, 4) !== "127."
|
$scope.openNoAuth = addr.substr(0, 4) !== "127."
|
||||||
&& addr.substr(0, 6) !== "[::1]:"
|
&& addr.substr(0, 6) !== "[::1]:"
|
||||||
|
&& addr.substr(0, 1) !== "/"
|
||||||
&& (!guiCfg.user || !guiCfg.password)
|
&& (!guiCfg.user || !guiCfg.password)
|
||||||
&& guiCfg.authMode !== 'ldap'
|
&& guiCfg.authMode !== 'ldap'
|
||||||
&& !guiCfg.insecureAdminAccess;
|
&& !guiCfg.insecureAdminAccess;
|
||||||
|
Loading…
Reference in New Issue
Block a user