class reset_password

Handling forgotten passwords via reset password functionality

Properties

protected config $config
protected driver_interface $db
protected dispatcher $dispatcher
protected helper $helper
protected language $language
protected log_interface $log
protected manager $passwords_manager
protected request_interface $request
protected template $template
protected user $user
protected string $users_table
protected string $root_path
protected string $php_ext

Methods

__construct(config $config, driver_interface $db, dispatcher $dispatcher, helper $helper, language $language, log_interface $log, manager $passwords_manager, request_interface $request, template $template, user $user, string $users_table, string $root_path, string $php_ext)

Reset password controller constructor.

init_controller()

Init controller

remove_reset_token(int $user_id)

Remove reset token for specified user

Response
request()

Handle password reset request

Response
reset()

Handle controller requests

Details

at line 91
__construct(config $config, driver_interface $db, dispatcher $dispatcher, helper $helper, language $language, log_interface $log, manager $passwords_manager, request_interface $request, template $template, user $user, string $users_table, string $root_path, string $php_ext)

Reset password controller constructor.

Parameters

config $config
driver_interface $db
dispatcher $dispatcher
helper $helper
language $language
log_interface $log
manager $passwords_manager
request_interface $request
template $template
user $user
string $users_table
string $root_path
string $php_ext

at line 114
protected init_controller()

Init controller

at line 132
protected remove_reset_token(int $user_id)

Remove reset token for specified user

Parameters

int $user_id

User ID

at line 150
Response request()

Handle password reset request

Return Value

Response

at line 295
Response reset()

Handle controller requests

Return Value

Response