diff --git a/frontend/pages/settings/personal/[id].js b/frontend/pages/settings/personal/[id].js index 928d426b0e..070f547e40 100644 --- a/frontend/pages/settings/personal/[id].js +++ b/frontend/pages/settings/personal/[id].js @@ -125,13 +125,13 @@ export default function PersonalSettings() { label="New Password" onChangeHandler={(password) => { setNewPassword(password); - passwordCheck( + passwordCheck({ password, setPasswordErrorLength, setPasswordErrorNumber, setPasswordErrorLowerCase, - false - ); + currentErrorCheck: false, + }); }} type="password" value={newPassword} diff --git a/frontend/pages/signupinvite.js b/frontend/pages/signupinvite.js index 15c5117395..0de60f855e 100644 --- a/frontend/pages/signupinvite.js +++ b/frontend/pages/signupinvite.js @@ -204,13 +204,13 @@ export default function SignupInvite() { label="Password" onChangeHandler={(password) => { setPassword(password); - passwordCheck( + passwordCheck({ password, setPasswordErrorLength, setPasswordErrorNumber, setPasswordErrorLowerCase, - false - ); + currentErrorCheck: false, + }); }} type="password" value={password}