From e8c45cc83f9013b5ab0e1342655b900560251b44 Mon Sep 17 00:00:00 2001 From: Tankred Hase Date: Thu, 31 Jul 2014 20:28:38 +0200 Subject: [PATCH] Fix bug where changing passphrase back to empty string blocked keygen --- src/js/controller/login-initial.js | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/js/controller/login-initial.js b/src/js/controller/login-initial.js index 23f6eb1..103da70 100644 --- a/src/js/controller/login-initial.js +++ b/src/js/controller/login-initial.js @@ -95,12 +95,7 @@ define(function(require) { }; $scope.confirmPassphrase = function() { - var passphrase = $scope.state.passphrase, - confirmation = $scope.state.confirmation; - - if (passphrase !== confirmation) { - return; - } + var passphrase = $scope.state.passphrase; $scope.setState(states.PROCESSING);