forked from science-ation/science-ation
trim the email address so you cant end up with an address like " " (blank spaces)
This commit is contained in:
parent
7e1321ee1d
commit
01a5028c48
@ -105,6 +105,8 @@
|
|||||||
|
|
||||||
send_header("Judges Registration");
|
send_header("Judges Registration");
|
||||||
|
|
||||||
|
$_POST['email']=trim($_POST['email']);
|
||||||
|
|
||||||
if($_POST['action']=="login" && ( $_POST['email'] || $_SESSION['email']) )
|
if($_POST['action']=="login" && ( $_POST['email'] || $_SESSION['email']) )
|
||||||
{
|
{
|
||||||
if($_POST['email'])
|
if($_POST['email'])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user