From 02d4c2a1fd9973cd1799bf40bbcf0a4ebbc22c32 Mon Sep 17 00:00:00 2001 From: Christian Fehmer Date: Mon, 20 May 2024 11:44:23 +0200 Subject: [PATCH] fix: signup only working after one retry (fehmer) (#5406) --- frontend/src/ts/controllers/account-controller.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/ts/controllers/account-controller.ts b/frontend/src/ts/controllers/account-controller.ts index 6f2a2f2a8..868d0af1e 100644 --- a/frontend/src/ts/controllers/account-controller.ts +++ b/frontend/src/ts/controllers/account-controller.ts @@ -499,7 +499,7 @@ async function signUp(): Promise { }); return; } - RegisterCaptchaModal.show(); + await RegisterCaptchaModal.show(); const captchaToken = await RegisterCaptchaModal.promise; if (captchaToken === undefined || captchaToken === "") { Notifications.add("Please complete the captcha", -1);