This commit is contained in:
Mo Bitar
2017-12-23 14:21:37 -06:00
parent 0c31668625
commit 93ea71672b
5 changed files with 66 additions and 14 deletions

View File

@@ -5,7 +5,7 @@
-# Account Section
.mb-10
.step-one{"ng-if" => "!formData.showLogin && !formData.showRegister"}
.step-one{"ng-if" => "!formData.showLogin && !formData.showRegister && !formData.mfa"}
%h3 Sign in or register to enable sync and end-to-end encryption.
.small-v-space
@@ -41,6 +41,11 @@
Merge local data ({{notesAndTagsCount()}} notes and tags)
%button.ui-button.block.mt-10{"ng-click" => "submitAuthForm()"} {{formData.showLogin ? "Sign In" : "Register"}}
%form.mt-5{"ng-if" => "formData.mfa"}
%p {{formData.mfa.message}}
%input.form-control.mt-10{:autofocus => 'autofocus', :name => 'mfa', :required => true, 'ng-model' => 'formData.userMfaCode'}
%button.ui-button.block.mt-10{"ng-click" => "submitMfaForm()"} {{"Sign In"}}
.mt-15{"ng-if" => "formData.showRegister"}
%h3 No Password Reset.
%p.mt-5 Because your notes are encrypted using your password, Standard Notes does not have a password reset option. You cannot forget your password.