diff --git a/app/assets/templates/directives/account-menu.pug b/app/assets/templates/directives/account-menu.pug index 65433ea0e..97f0a49d8 100644 --- a/app/assets/templates/directives/account-menu.pug +++ b/app/assets/templates/directives/account-menu.pug @@ -99,7 +99,7 @@ ) (Learn more) .sk-panel-section.form-submit(ng-if='!self.state.formData.authenticating') button.sn-button.info.text-base.py-3.text-center( - ng-click='self.submitAuthForm()', + type="submit" ng-disabled='self.state.formData.authenticating' ) {{self.state.formData.showLogin ? "Sign In" : "Register"}} .sk-notification.neutral(ng-if='self.state.formData.showRegister')