mirror of
https://github.com/zitadel/zitadel.git
synced 2025-12-12 08:23:16 +00:00
fix error message on /password
This commit is contained in:
@@ -63,7 +63,8 @@ export default function PasswordForm({
|
|||||||
|
|
||||||
setLoading(false);
|
setLoading(false);
|
||||||
if (!res.ok) {
|
if (!res.ok) {
|
||||||
setError(response.details);
|
console.log(response.details.details);
|
||||||
|
setError(response.details?.details ?? "Could not verify password");
|
||||||
return Promise.reject(response.details);
|
return Promise.reject(response.details);
|
||||||
}
|
}
|
||||||
return response;
|
return response;
|
||||||
|
|||||||
Reference in New Issue
Block a user