Await changePassword on register page
This commit is contained in:
parent
f6c5484d1b
commit
b3b73e9874
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
|
|
Loading…
Add table
Reference in a new issue