Handle user authentication (login and logout). More...
Public Member Functions | |
login () | |
Handle everything with login, either display login form, or on POST, try to login. | |
_no_access ($messages, $action) | |
No access method. | |
logout () | |
Logout user, and redirect to the login form. |
Handle user authentication (login and logout).
Auth_Controller::_no_access | ( | $ | messages, | |
$ | action | |||
) |
No access method.
$messages | array | |
$action | string |
Auth_Controller::login | ( | ) |
Handle everything with login, either display login form, or on POST, try to login.
If logged in, redirect to the requested URL.