mirror of
https://github.com/keycloak/keycloak.git
synced 2026-01-09 23:12:06 -03:30
parent
0825f22331
commit
fc67e54fde
@ -159,7 +159,10 @@ export const ResetPasswordDialog = ({
|
|||||||
id="password"
|
id="password"
|
||||||
onChange={async (e) => {
|
onChange={async (e) => {
|
||||||
await onChange(e);
|
await onChange(e);
|
||||||
if (passwordConfirmation !== e.currentTarget.value) {
|
if (
|
||||||
|
e.currentTarget &&
|
||||||
|
passwordConfirmation !== e.currentTarget.value
|
||||||
|
) {
|
||||||
setError("passwordConfirmation", {
|
setError("passwordConfirmation", {
|
||||||
message: t("confirmPasswordDoesNotMatch"),
|
message: t("confirmPasswordDoesNotMatch"),
|
||||||
});
|
});
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user