Update 2fa.php
This commit is contained in:
@@ -62,7 +62,7 @@ include "../../../api/php/notifications/sendmessage.php"; //to send user notific
|
|||||||
$ip = $_SERVER['REMOTE_ADDR'];
|
$ip = $_SERVER['REMOTE_ADDR'];
|
||||||
$username=$row["username"];
|
$username=$row["username"];
|
||||||
send_to_user("[LOGIN WARNING]\nHello $username\nSomebody has logged into Cyberhex with your account.\nIf this was you, you can ignore this message. Else please take steps to secure your account!\nIP: $ip\n",$username);
|
send_to_user("[LOGIN WARNING]\nHello $username\nSomebody has logged into Cyberhex with your account.\nIf this was you, you can ignore this message. Else please take steps to secure your account!\nIP: $ip\n",$username);
|
||||||
echo '<script>window.location.href = "/system/secure_zone/php/index.php";</script>';
|
//echo '<script>window.location.href = "/system/secure_zone/php/index.php";</script>';
|
||||||
}
|
}
|
||||||
}else {
|
}else {
|
||||||
echo '<div class="alert alert-danger" role="alert">
|
echo '<div class="alert alert-danger" role="alert">
|
||||||
|
|||||||
Reference in New Issue
Block a user