Await changePassword on register page

This commit is contained in:
Robert Long 2022-01-06 15:27:05 -08:00
parent f6c5484d1b
commit b3b73e9874

View file

@ -62,7 +62,7 @@ export function RegisterPage() {
setRegistering(true);
if (isPasswordlessUser) {
changePassword(password);
await changePassword(password);
} else {
const recaptchaResponse = await execute();
await register(userName, password, recaptchaResponse);