File path: dist/twist/Core/Controllers/BaseUser.controller.php
Namespace: Twist\Core\Controllers
Extends: Base
forgottenpassword
— Forgotten password page, form here you can enter your email address and you will then be emailed a temporary password.
Once submitted the user will be directed on to the postForgottenPassword function in the controller.
void — No return information has been documented for this function.
<?php
/** --------- Option 1 --------- */
//Register a dynamic route that will direct all function requests to the controller
Twist::Route() -> controller('/baseuser%','\Twist\Core\Controllers\BaseUser');
/** --------- Option 2 --------- */
//Or you can register a route to only direct the current request to a particular controller method
Twist::Route() -> get('/baseuser/forgottenpassword',array('\Twist\Core\Controllers\BaseUser','forgottenpassword'));