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:
parent
061fe0dd9c
commit
e8c45cc83f
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user