Commit ecddcbbb authored by Paul Gascou-Vaillancourt's avatar Paul Gascou-Vaillancourt Committed by Paul Gascou-Vaillancourt

Check if needs challenge on submit

parent 820bbb95
...@@ -88,7 +88,8 @@ export default { ...@@ -88,7 +88,8 @@ export default {
onUsernameBlur() { onUsernameBlur() {
this.username = this.getUsernameValue(); this.username = this.getUsernameValue();
}, },
onSubmit(e) { async onSubmit(e) {
await this.checkIfNeedsChallenge();
if (!this.arkoseInitialized || this.arkoseChallengePassed) { if (!this.arkoseInitialized || this.arkoseChallengePassed) {
return; return;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment