X-Git-Url: https://jfr.im/git/irc/unrealircd/unrealircd-webpanel.git/blobdiff_plain/e653740512b00c37a7fc19d9f41889f0844d6c68..579020f8c67f7bdfd9d530a25b701af6ee53c412:/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