Skip to content

Commit

Permalink
fix: signup only working after one retry (fehmer) (#5406)
Browse files Browse the repository at this point in the history
  • Loading branch information
fehmer committed May 20, 2024
1 parent b178039 commit 02d4c2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/ts/controllers/account-controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,7 @@ async function signUp(): Promise<void> {
});
return;
}
RegisterCaptchaModal.show();
await RegisterCaptchaModal.show();
const captchaToken = await RegisterCaptchaModal.promise;
if (captchaToken === undefined || captchaToken === "") {
Notifications.add("Please complete the captcha", -1);
Expand Down

0 comments on commit 02d4c2a

Please sign in to comment.