fix: only call auth form method once

This commit is contained in:
Baptiste Grob
2021-04-07 15:03:54 +02:00
parent af3de36361
commit 9deb5d13d5

View File

@@ -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')