Class cPasswordRequest
Class for handling passwort recovery for backend users. If a user has set his e-mail address, this class generates a new Password for user and submits to his e-mail adress. Submitting a new Password is only possible every 30 minutes Mailsender, Mailsendername and Mailserver are set into system properties. There it is also possible to deactivate this feature.
Copyright: four for business AG <www.4fb.de>
License: http://www.contenido.org/license/LIZENZ.txt
Author: Timo Trautmann
Located at classes/class.password.request.php
public
|
|
public
|
#
renderForm( boolean $return = 0 )
Function displays form for password request and sets new password, if password is submitted this function also starts the passwort change an sending process |
protected
|
#
_handleNewPassword( )
Function checks password request for errors an delegate request to setNewPassword() if there is no error |
protected
|
|
protected
|
|
protected
string
|
protected
|
$_db |
|
#
The CONTENIDO database object |
protected
array
|
$_cfg |
|
#
The CONTENIDO configuration array |
protected
|
$_tpl |
|
#
The CONTENIDO template object |
protected
string
|
$_username |
|
#
Username of user which requests password |
protected
string
|
$_email |
|
#
E-mail address of user which requests password |
protected
integer
|
$_reloadTime |
|
#
Time in minutes after which user is allowed to request a new password |
protected
integer
|
$_passLength |
|
#
Length of new passwort, which is generated automatically |
protected
boolean
|
$_isEnabled |
|
#
Defines if passwort request is enabled or disabled. Default: This feature is enabled |
protected
string
|
$_sendermail |
|
#
E-mail address of the sender |
protected
string
|
$_sendername |
|
#
Name of the sender |
protected
string
|
$_mailhost |
|
#
Host of mailserver, which sends new password via mail |