Explorar el Código

gui: Don't show auth warning when listening on UNIX socket (fixes #6040) (#6041)

Lukas Lihotzki hace 6 años
padre
commit
cff7a091f5
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      gui/default/syncthing/core/syncthingController.js

+ 1 - 0
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;