Skip to content
Snippets Groups Projects
Commit ebd3d9ce authored by chris's avatar chris
Browse files

bug#775, fix access control of resend password page

darcs-hash:20060606083212-9b6ab-b04f08b3fde6baca7ec2a33a38c3f147651c8371.gz
parent b08cc288
No related branches found
No related tags found
No related merge requests found
......@@ -199,6 +199,12 @@ function act_permcheck($act){
}else{
$permneed = AUTH_ADMIN;
}
}elseif($act == 'resendpwd'){
if ($conf['resendpasswd']) {
$permneed = AUTH_NONE;
}else{
$permneed = AUTH_ADMIN+1; // shouldn't get here if $conf['resendpasswd'] is off
}
}elseif($act == 'admin'){
$permneed = AUTH_ADMIN;
}else{
......
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