X-Git-Url: https://jfr.im/git/irc/unrealircd/unrealircd-webpanel.git/blobdiff_plain/b5b6c2ce1fa7252d4258dd22466c745de2488671..cd26522ba6ff68c18e1504b022ca92f4d01827be:/settings/user-edit.php diff --git a/settings/user-edit.php b/settings/user-edit.php index 02df692..4c77f6a 100644 --- a/settings/user-edit.php +++ b/settings/user-edit.php @@ -44,6 +44,8 @@ if ($postbutton && $can_edit_profile) elseif ($array['update_pass'] == $array['update_pass_conf']) { $array['update_pass_conf'] = PanelUser::password_hash($array['update_pass_conf']); + $edit_user->delete_meta("hibp"); + $edit_user->HIBP(sha1($array['update_pass'])); unset($array['update_pass']); } else