From cff7a091f5fb1d65adc5f703394ffce50c34550a Mon Sep 17 00:00:00 2001 From: Lukas Lihotzki Date: Tue, 1 Oct 2019 13:22:33 +0200 Subject: [PATCH] gui: Don't show auth warning when listening on UNIX socket (fixes #6040) (#6041) --- 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 ffed6a1ff..154c2b400 100755 --- a/gui/default/syncthing/core/syncthingController.js +++ b/gui/default/syncthing/core/syncthingController.js @@ -439,6 +439,7 @@ angular.module('syncthing.core') var guiCfg = $scope.config.gui; $scope.openNoAuth = addr.substr(0, 4) !== "127." && addr.substr(0, 6) !== "[::1]:" + && addr.substr(0, 1) !== "/" && (!guiCfg.user || !guiCfg.password) && guiCfg.authMode !== 'ldap' && !guiCfg.insecureAdminAccess;