password confirmation on registration, closes #68
This commit is contained in:
@@ -98,6 +98,11 @@ class AccountMenu {
|
|||||||
}
|
}
|
||||||
|
|
||||||
$scope.submitRegistrationForm = function() {
|
$scope.submitRegistrationForm = function() {
|
||||||
|
var confirmation = prompt("Please confirm your password. Note that because your notes are encrypted using your password, Standard Notes does not have a password reset option. You cannot forget your password.")
|
||||||
|
if(confirmation !== $scope.formData.user_password) {
|
||||||
|
alert("The two passwords you entered do not match. Please try again.");
|
||||||
|
return;
|
||||||
|
}
|
||||||
$scope.formData.status = "Generating Account Keys...";
|
$scope.formData.status = "Generating Account Keys...";
|
||||||
|
|
||||||
$timeout(function(){
|
$timeout(function(){
|
||||||
|
|||||||
Reference in New Issue
Block a user