Method |
Description |
|
__construct ( ) |
Construct this object by extending the basic Controller class. The parent::__construct thing is necessary to
put checkAuthentication in here to make an entire controller only usable for logged-in users (for sure not
needed in the LoginController). |
|
index ( ) |
Index, default action (shows the login form), when you do login/index |
|
login ( ) |
The login action, when you do login/login |
|
loginWithCookie ( ) |
Login with cookie |
|
logout ( ) |
The logout action
Perform logout, redirect user to main-page |
|
requestPasswordReset ( ) |
Show the request-password-reset page |
|
requestPasswordReset_action ( ) |
The request-password-reset action
POST-request after form submit |
|
setNewPassword ( ) |
Set the new password
Please note that this happens while the user is not logged in. The user identifies via the data provided by the
password reset link from the email, automatically filled into the |
|
verifyPasswordReset ( string $user_name, string $verification_code ) |
Verify the verification token of that user (to show the user the password editing view or not) |
|