mirror of
https://github.com/ShaYmez/FreeSTAR-Status-Engine.git
synced 2025-06-19 21:52:43 -04:00
fix double check issue with login function
This commit is contained in:
parent
8845ad65f0
commit
8731add072
@ -210,12 +210,12 @@ class User
|
|||||||
public static function login()
|
public static function login()
|
||||||
{
|
{
|
||||||
global $message, $mysqli;
|
global $message, $mysqli;
|
||||||
if (!isset($_POST['email']) && !isset($_POST['email']))
|
if (!isset($_POST['email']) && !isset($_POST['pass']))
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((!isset($_POST['email']) || !isset($_POST['email'])))
|
if ((!isset($_POST['email']) || !isset($_POST['pass'])))
|
||||||
{
|
{
|
||||||
$message = _("Please fill in your email and password!");
|
$message = _("Please fill in your email and password!");
|
||||||
return;
|
return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user