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