Explorar el Código

gui: Fix auto dismissing auth notification (ref #6536)

Jakob Borg hace 5 años
padre
commit
5f40879a75
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      gui/default/syncthing/core/syncthingController.js

+ 1 - 1
gui/default/syncthing/core/syncthingController.js

@@ -451,7 +451,7 @@ angular.module('syncthing.core')
                 && !guiCfg.insecureAdminAccess;
 
             if (guiCfg.user && guiCfg.password) {
-                dismissNotification('authenticationUserAndPassword');
+                $scope.dismissNotification('authenticationUserAndPassword');
             }
         }