Skip to content
Snippets Groups Projects
Commit 036b9e65 authored by Andreas Gohr's avatar Andreas Gohr
Browse files

cleanID on passforgot action #861

darcs-hash:20060916194626-7ad00-2eeb07a509c95359a9bd1b164db4af7279b7f330.gz
parent 0abe1d3e
No related branches found
No related tags found
No related merge requests found
......@@ -17,6 +17,10 @@ if(isset($_REQUEST['u']))
$_REQUEST['u'] = cleanID($_REQUEST['u']);
if(isset($_REQUEST['acl_user']))
$_REQUEST['acl_user'] = cleanID($_REQUEST['acl_user']);
// the same goes for password reset requests
if(isset($_POST['login'])){
$_POST['login'] = cleanID($_POST['login']);
}
class auth_plain extends auth_basic {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment