| Auth | |
| Author | Jaybill McCarthy |
| License | http://communit.as/docs/license |
| See Also | Cts_Controller_Action_Abstract |
| Actions | |
| login | Either displays a login form, processes a login request, or automatically logs someone in (if auto_login in the app variables is set to true). |
| denied | This page is shown if the user is not allowed access to the requested page. |
| missing | This page is shown if the requested page does not exist. |
| logout | Logs a user out of their session and redirects to the the app root (‘/’, currently hardcoded). |
| error |
function loginAction()
Either displays a login form, processes a login request, or automatically logs someone in (if auto_login in the app variables is set to true).
| param username | The username of the user logging in. |
| param password | The password of the user logging in. |
| param requested_url | The URL to redirect to after login success and after the plugin has executed. |
| param username | The username of the user logging in. |
| errors | An array of error messages. Only present if errors occurred. |
| last_login | The username of the last user to log in, or null if there was a failed login. |
| pagetitle | The HTML page title. |
function deniedAction()
This page is shown if the user is not allowed access to the requested page. It’s typically reached via HTTP Response Redirect.
| param username | The username of the logged-in user. Only exists if there is a logged-in user. |
function missingAction()
This page is shown if the requested page does not exist. It’s typically reached via HTTP Response Redirect.
| param username | The username of the logged-in user. Only exists if there is a logged-in user. |
function logoutAction()
Logs a user out of their session and redirects to the the app root (‘/’, currently hardcoded).
| param username | The username of the logged-in user. Only exists if there is a logged-in user. |
| param username | The username of the logged-in user. Only exists if there is a logged-in user. |
Either displays a login form, processes a login request, or automatically logs someone in (if auto_login in the app variables is set to true).
function loginAction()
This page is shown if the user is not allowed access to the requested page.
function deniedAction()
This page is shown if the requested page does not exist.
function missingAction()
Logs a user out of their session and redirects to the the app root (‘/’, currently hardcoded).
function logoutAction()
function errorAction()