diff options
-rw-r--r-- | inc/auth.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/inc/auth.php b/inc/auth.php index 2e9d51767..07f335627 100644 --- a/inc/auth.php +++ b/inc/auth.php @@ -654,7 +654,8 @@ function act_resendpwd(){ msg($lang['resendpwdmissing'], -1); return false; } else { - $user = $_POST['login']; + $_POST['login'] = preg_replace('/.*:/','',$_POST['login']); + $user = cleanID($_POST['login']); } $userinfo = $auth->getUserData($user); |