mirror of
https://github.com/keycloak/keycloak.git
synced 2025-12-21 14:30:05 -06:00
committed by
Marek Posolda
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"),
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user