Functioning password change
This commit is contained in:
@@ -1,20 +1,24 @@
|
||||
.modal.medium
|
||||
.modal.small
|
||||
.content
|
||||
.sn-component
|
||||
.panel
|
||||
.header
|
||||
%h1.title {{title}}
|
||||
%a.close-button{"ng-click" => "close()"} Close
|
||||
%a.close-button{"ng-click" => "dismiss()"} Close
|
||||
.content
|
||||
|
||||
%div{"ng-if" => "step == 0"}
|
||||
%div{"ng-if" => "changePassword"}
|
||||
%p Since your encryption key is based on your password, changing your password requires all your notes and tags to be re-encrypted using your new key.
|
||||
%p If you have thousands of items, this can take several minutes—you must keep the application window open during this process.
|
||||
%h3.title.panel-row Change your password
|
||||
%p Because your encryption key is based on your password, changing your password requires all your data to be re-encrypted using your new key.
|
||||
%p This process will guide you through changing your password.
|
||||
%p If you have many items, re-uploading your data can take several minutes. You must keep the application window open during this process.
|
||||
%div{"ng-if" => "securityUpdate"}
|
||||
%h3.title.panel-row Perform security update
|
||||
%p Welcome to the security update process.
|
||||
|
||||
%p.info Press Continue to proceed.
|
||||
.panel-row
|
||||
%strong.info Press Continue to proceed.
|
||||
|
||||
.panel-section{"ng-if" => "step > 0"}
|
||||
|
||||
@@ -59,7 +63,20 @@
|
||||
%p.panel-row.danger
|
||||
Do not close this window until this process completes.
|
||||
|
||||
%p.panel-row
|
||||
.spinner.small.inline.info.mr-5{"ng-if" => "formData.processing"}
|
||||
.inline.bold{"ng-class" => "{'info' : !formData.statusError, 'error' : formData.statusError}"}
|
||||
{{formData.status}}
|
||||
|
||||
%div{"ng-if" => "step == 5"}
|
||||
%div{"ng-if" => "changePassword"}
|
||||
%p.panel-row Your password has been successfully changed.
|
||||
%div{"ng-if" => "securityUpdate"}
|
||||
%p.panel-row The security update has been successfully applied to your account.
|
||||
|
||||
%p.panel-row You may now sign back in to all your devices and close this window.
|
||||
|
||||
.footer
|
||||
%a.right{"ng-click" => "continue()", "ng-class" => "{'disabled' : lockContinue}"}
|
||||
.spinner.small.inline.info{"ng-if" => "showSpinner", "style" => "margin-right: 5px;"}
|
||||
.spinner.small.inline.info.mr-5{"ng-if" => "showSpinner"}
|
||||
{{continueTitle}}
|
||||
|
||||
Reference in New Issue
Block a user