$adminConfig
$adminConfig : \Charcoal\Admin\Config
Store a reference to the admin configuration.
Reset Password Action
This action is used to process a user's new password given a valid password reset token generared by \Charcoal\Admin\Action\Account\LostPasswordAction.
tokenusernamepassword1password2g-recaptcha-response200 — Successful; Password has been changed400 — Client error; Invalid request data500 — Server error; Password could not be changed$adminConfig : \Charcoal\Admin\Config
Store a reference to the admin configuration.
init(\Psr\Http\Message\RequestInterface  $request) : boolean
                Template's init method is called automatically from `charcoal-app`'s Template Route.
For admin templates, initializations is:
$_GET| \Psr\Http\Message\RequestInterface | $request | The request to initialize. | 
addFeedback(string $level, mixed $message) : \Charcoal\Admin\Ui\FeedbackContainerTrait
Add feedback.
| string | $level | The feedback level. | 
| mixed | $message | The feedback message. | 
Chainable
clearFeedback() : \Charcoal\Admin\Ui\FeedbackContainerTrait
Remove all feedback from collection.
Chainable
run(\Psr\Http\Message\RequestInterface $request, \Psr\Http\Message\ResponseInterface $response) : \Psr\Http\Message\ResponseInterface
Note that the lost-password action should never change status code and always return 200.
| \Psr\Http\Message\RequestInterface | $request | A PSR-7 compatible Request instance. | 
| \Psr\Http\Message\ResponseInterface | $response | A PSR-7 compatible Response instance. | 
setModelFactory(\Charcoal\Factory\FactoryInterface  $factory) : \Charcoal\Admin\AdminScript
                
| \Charcoal\Factory\FactoryInterface | $factory | The factory used to create models. | 
Chainable
setSiteName(string  $name) : \Charcoal\Admin\AdminAction
                Set the name of the project.
| string | $name | Name of the project. | 
Chainable
loadUser(string  $username) : \Charcoal\Admin\User|false
                
| string | $username | Username or email. | 
validateToken(string $token, string $username) : boolean
Validate the given password reset token.
To be valid, a token should:
| string | $token | The token to validate. | 
| string | $username | The user that should match the token. |