Commit 7752dc4c authored by Dries's avatar Dries

- Fixed small bug in account.php with some usernames not being tolerated.
parent d67486f7
......@@ -394,12 +394,6 @@ function account_track_site() {
$theme->footer();
}
// Security check:
if (strstr($name, " ") || strstr($hash, " ")) {
watchdog("error", "account: attempt to provide malicious input through URI");
exit();
}
switch ($op) {
case t("E-mail new password"):
account_email_submit(check_input($userid), check_input($email));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment