From 9dd4a86ec4fba8e6cfc23bb6488a06ce918881a6 Mon Sep 17 00:00:00 2001 From: brantje Date: Fri, 30 Sep 2016 20:46:06 +0200 Subject: [PATCH] Remove temp var --- js/app/controllers/vault.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/js/app/controllers/vault.js b/js/app/controllers/vault.js index be1f9cfb..2f64271c 100644 --- a/js/app/controllers/vault.js +++ b/js/app/controllers/vault.js @@ -101,11 +101,8 @@ angular.module('passmanApp') _vault.vaultKey = angular.copy(vault_key); VaultService.setActiveVault(_vault); - - - var challenge_password = vault.challenge_password; try { - var c = EncryptService.decryptString(challenge_password); + var c = EncryptService.decryptString(vault.challenge_password); if ($scope.remember_vault_password) { SettingsService.setSetting('defaultVaultPass', vault_key); }