1
0
mirror of https://github.com/moparisthebest/mail synced 2024-11-22 17:02:17 -05:00

Fix bug where changing passphrase back to empty string blocked keygen

This commit is contained in:
Tankred Hase 2014-07-31 20:28:38 +02:00
parent 061fe0dd9c
commit e8c45cc83f

View File

@ -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);