Update SFJS to include authentication locking, lock authentication UI after submit

This commit is contained in:
Mo Bitar
2018-10-13 14:43:25 -05:00
parent d226be41b7
commit 00dd21179f
4 changed files with 12 additions and 6 deletions

View File

@@ -45,7 +45,7 @@
%a{"href" => "https://standardnotes.org/help/security", "target" => "_blank"} (Learn more)
.button-group.stretch.panel-row.form-submit
%button.button.info.featured{"type" => "submit"}
%button.button.info.featured{"type" => "submit", "ng-disabled" => "formData.authenticating"}
.label {{formData.showLogin ? "Sign In" : "Register"}}
%label