From 5f40879a75b7e3b94f814b68f55fe2038bfecdd4 Mon Sep 17 00:00:00 2001 From: Jakob Borg Date: Mon, 8 Jun 2020 08:29:33 +0200 Subject: [PATCH] gui: Fix auto dismissing auth notification (ref #6536) --- gui/default/syncthing/core/syncthingController.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui/default/syncthing/core/syncthingController.js b/gui/default/syncthing/core/syncthingController.js index 31f51b75a..d7b7b937e 100755 --- a/gui/default/syncthing/core/syncthingController.js +++ b/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'); } }