Trim username input before storing in session (#7977)

This commit is contained in:
Alex
2026-05-15 21:06:44 +00:00
committed by GitHub
parent 9b3b33b2ba
commit ad862e41f1
@@ -639,7 +639,7 @@ class authentication {
//if the username
if (!empty($_REQUEST["username"])) {
$_SESSION['username'] = $_REQUEST["username"];
$_SESSION['username'] = trim($_REQUEST["username"]);
}
//set a default value for unqiue