class Password

Model for changing the administrative password.

Methods

__construct(Database $database, Session $session)

Constructor.

bool
changePassword(string $password, string $confirm)

Change the admin password.

Details

at line 42
__construct(Database $database, Session $session)

Constructor.

Parameters

Database $database Instance of the Tuskfish database class.
Session $session Instance of the Tuskfish session manager class.

at line 55
bool changePassword(string $password, string $confirm)

Change the admin password.

Parameters

string $password
string $confirm Confirmation password.

Return Value

bool True on success, false on failure.