mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2026-01-05 06:54:36 +08:00
fix: signup only working after one retry (fehmer) (#5406)
This commit is contained in:
parent
b17803918b
commit
02d4c2a1fd
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue