mirror of
https://github.com/zitadel/zitadel.git
synced 2025-12-12 07:24:51 +00:00
Update apps/login/ui/SetPasswordForm.tsx
Co-authored-by: Elio Bischof <elio@zitadel.com>
This commit is contained in:
@@ -57,13 +57,10 @@ export default function SetPasswordForm({
|
|||||||
password: values.password,
|
password: values.password,
|
||||||
}),
|
}),
|
||||||
});
|
});
|
||||||
|
setLoading(false);
|
||||||
if (!res.ok) {
|
if (!res.ok) {
|
||||||
setLoading(false);
|
|
||||||
throw new Error("Failed to register user");
|
throw new Error("Failed to register user");
|
||||||
}
|
}
|
||||||
|
|
||||||
setLoading(false);
|
|
||||||
return res.json();
|
return res.json();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user