diff --git a/js/app/controllers/settings.js b/js/app/controllers/settings.js index dbb65208..47b8783a 100644 --- a/js/app/controllers/settings.js +++ b/js/app/controllers/settings.js @@ -195,6 +195,7 @@ angular.module('passmanApp') vault.private_sharing_key = EncryptService.encryptString(vault.private_sharing_key, newVaultPass); VaultService.updateSharingKeys(vault).then(function (result) { $rootScope.$broadcast('logout') + NotificationService.showNotification('Please login with your new vault password', 5000); }); } }); @@ -204,6 +205,13 @@ angular.module('passmanApp') }) }; + $rootScope.$on('logout', function () { + $scope.active_vault = null; + VaultService.setActiveVault(null); + $location.path('/'); + + }); + $scope.cancel = function () { $location.path('/vault/' + $routeParams.vault_id); }; diff --git a/js/templates.js b/js/templates.js index b952edad..d3b2e0ac 100644 --- a/js/templates.js +++ b/js/templates.js @@ -51,7 +51,7 @@ angular.module('views/partials/forms/settings/export.html', []).run(['$templateC angular.module('views/partials/forms/settings/general_settings.html', []).run(['$templateCache', function($templateCache) { 'use strict'; $templateCache.put('views/partials/forms/settings/general_settings.html', - '
Version: {{passman_version}}
Bla bla about passman, changelog.
Donate to support development
Save your passwords with 1 click!
Drag below button to your bookmark toolbar.
Version: {{passman_version}}
Bla bla about passman, changelog.
Donate to support development
Save your passwords with 1 click!
Drag below button to your bookmark toolbar.