Browse Source

Trim invite emails

spaghetti 7 years ago
parent
commit
f2d2b4c89d
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      sections/user/take_invite.php

+ 1
- 1
sections/user/take_invite.php View File

@@ -40,7 +40,7 @@ if ($LoggedUser['RatioWatch']
40 40
     error(403);
41 41
 }
42 42
 
43
-$Email = $_POST['email'];
43
+$Email = trim($_POST['email']);
44 44
 $Username = $LoggedUser['Username'];
45 45
 $SiteName = SITE_NAME;
46 46
 $SiteURL = site_url();

Loading…
Cancel
Save