Await changePassword on register page
This commit is contained in:
@@ -62,7 +62,7 @@ export function RegisterPage() {
|
|||||||
setRegistering(true);
|
setRegistering(true);
|
||||||
|
|
||||||
if (isPasswordlessUser) {
|
if (isPasswordlessUser) {
|
||||||
changePassword(password);
|
await changePassword(password);
|
||||||
} else {
|
} else {
|
||||||
const recaptchaResponse = await execute();
|
const recaptchaResponse = await execute();
|
||||||
await register(userName, password, recaptchaResponse);
|
await register(userName, password, recaptchaResponse);
|
||||||
|
|||||||
Reference in New Issue
Block a user