Subversion Repositories oidplus

Compare Revisions

Regard whitespace Rev 1198 → Rev 1199

/trunk/plugins/viathinksoft/publicPages/091_forgot_password/OIDplusPagePublicForgotPassword.class.php
43,7 → 43,7
 
OIDplus::getActiveCaptchaPlugin()->captchaVerify($params, 'captcha');
 
OIDplus::logger()->log("[WARN]RA($email)!", "A new password for '$email' was requested (forgot password)");
OIDplus::logger()->log("[WARN]RA(%1)!", "A new password for '%1' was requested (forgot password)", $email);
 
$timestamp = time();
$activate_url = OIDplus::webpath(null,OIDplus::PATH_ABSOLUTE_CANONICAL) . '?goto='.urlencode('oidplus:reset_password$'.$email.'$'.$timestamp.'$'.OIDplus::authUtils()->makeAuthKey('reset_password;'.$email.';'.$timestamp));
86,7 → 86,7
throw new OIDplusException(_L('Password is too short. Need at least %1 characters',$minlen));
}
 
OIDplus::logger()->log("[INFO]RA($email)!", "RA '$email' has reset his password (forgot passwort)");
OIDplus::logger()->log("[INFO]RA(%1)!", "RA '%1' has reset his password (forgot passwort)", $email);
 
$ra = new OIDplusRA($email);
$ra->change_password($password1);