Method |
Description |
|
changePassword ( string $user_name, string $user_password_current, string $user_password_new, string $user_password_repeat ) : boolean |
Validates fields, hashes new password, saves new password |
|
requestPasswordReset ( $user_name_or_email, $captcha ) : boolean |
Perform the necessary actions to send a password reset mail |
|
saveChangedPassword ( string $user_name, string $user_password_hash ) : boolean |
Writes the new password to the database |
|
saveNewUserPassword ( string $user_name, string $user_password_hash, string $user_password_reset_hash ) : boolean |
Writes the new password to the database |
|
sendPasswordResetMail ( string $user_name, string $user_password_reset_hash, string $user_email ) : boolean |
Send the password reset mail |
|
setNewPassword ( string $user_name, string $user_password_reset_hash, string $user_password_new, string $user_password_repeat ) : boolean |
Set the new password (for DEFAULT user, FACEBOOK-users don't have a password)
Please note: At this point the user has already pre-verified via verifyPasswordReset() (within one hour),
so we don't need to check again for the 60min-limit here. In this method we authenticate
via username & password-reset-hash from (hidden) form fields. |
|
setPasswordResetDatabaseToken ( string $user_name, string $user_password_reset_hash, integer $temporary_timestamp ) : boolean |
Set password reset token in database (for DEFAULT user accounts) |
|
validatePasswordChange ( string $user_name, string $user_password_current, string $user_password_new, string $user_password_repeat ) : boolean |
Validates current and new passwords |
|
validateResetPassword ( $user_name, $user_password_reset_hash, $user_password_new, $user_password_repeat ) : boolean |
Validate the password submission |
|
verifyPasswordReset ( string $user_name, string $verification_code ) : boolean |
Verifies the password reset request via the verification hash token (that's only valid for one hour) |
|