diff options
author | Benjamin Morrison <ben@gbmor.dev> | 2020-09-28 23:35:34 -0400 |
---|---|---|
committer | Benjamin Morrison <ben@gbmor.dev> | 2020-09-28 23:37:07 -0400 |
commit | 3bff9ef46a7049c8cf89794c68c753f4f1d9f500 (patch) | |
tree | b68c261778e3a785e91061ecfa1c414df10d1ff8 /html/submit.php | |
parent | 2ebe2cc18fa9452b2318d5fc31d15ad2d68aaa94 (diff) | |
download | site-3bff9ef46a7049c8cf89794c68c753f4f1d9f500.tar.gz |
lowercase username on submit
Diffstat (limited to 'html/submit.php')
-rwxr-xr-x | html/submit.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/html/submit.php b/html/submit.php index 1b297e8..3be3372 100755 --- a/html/submit.php +++ b/html/submit.php @@ -109,7 +109,7 @@ if (isset($_REQUEST["username"]) && isset($_REQUEST["email"])) { if ($message == "") { // no validation errors // remember: - $username = $_REQUEST["username"]; + $username = strtolower($_REQUEST["username"]); $email = $_REQUEST["email"]; $interest = $_REQUEST["interest"]; $sshkey = $_REQUEST["sshkey"]; |