Methods
Constructor of RequestPassword initializes class variables
__construct(object $db, array $cfg)
Parameters
$db
object
- The CONTENIDO database object
$cfg
array
- The CONTENIDO configuration array
Function generates new password
_generatePassword() : string
Returns
string
- the new password
Function checks password request for errors an delegate request to setNewPassword() if there is no error
_handleNewPassword()
Function sets new password for user and sets last request time to now
_setNewPassword()
Function submits new password to users mail adress
_submitMail(string $password)
Properties
$_isEnabled : boolean
Default: This feature is enabled