mirror of
https://github.com/zitadel/zitadel.git
synced 2025-12-12 10:15:04 +00:00
error handling
This commit is contained in:
@@ -72,7 +72,7 @@ export function SetPasswordForm({
|
||||
}
|
||||
|
||||
const changeResponse = await changePassword(payload).catch(() => {
|
||||
setError("Could not register user");
|
||||
setError("Could not set password");
|
||||
});
|
||||
|
||||
if (changeResponse && "error" in changeResponse) {
|
||||
|
||||
Reference in New Issue
Block a user