about summary refs log tree commit diff stats
path: root/html/submit.php
diff options
context:
space:
mode:
authorBenjamin Morrison <ben@gbmor.dev>2020-09-28 23:35:34 -0400
committerBenjamin Morrison <ben@gbmor.dev>2020-09-28 23:37:07 -0400
commit3bff9ef46a7049c8cf89794c68c753f4f1d9f500 (patch)
treeb68c261778e3a785e91061ecfa1c414df10d1ff8 /html/submit.php
parent2ebe2cc18fa9452b2318d5fc31d15ad2d68aaa94 (diff)
downloadsite-3bff9ef46a7049c8cf89794c68c753f4f1d9f500.tar.gz
lowercase username on submit
Diffstat (limited to 'html/submit.php')
-rwxr-xr-xhtml/submit.php2
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"];