X-Git-Url: https://jfr.im/git/irc/unrealircd/unrealircd-webpanel.git/blobdiff_plain/46d316b1e8e3e2742725f70c1c3fff929fe4b92c..6ae326cb8d203015fa158b04e5b3b584f86c3654:/index.php diff --git a/index.php b/index.php index d070f03..4d856a2 100644 --- a/index.php +++ b/index.php @@ -28,15 +28,27 @@ $stats = (object) $array_of_stats; $userlist = []; Hook::run(HOOKTYPE_GET_USER_LIST, $userlist); $num_of_panel_admins = count($userlist); - +$current_user = unreal_get_current_user(); +if (isset($current_user->user_meta['hibp'])) +{ + $num = $current_user->user_meta['hibp']; + Message::Fail("
Urgent
","Your password was found in a data breach $num time(s).", + "Please update your password immediately"); +} ?> -
+
-