File path: dist/twist/Core/Models/User/User.model.php
Namespace: Twist\Core\Models\User
resetPassword
— When the user has forgotten their password this function will easily allow a new password to be generated and and email with the users new temp password to be sent to their address.
Name | Description |
---|---|
[$blOverrideSendEmail = false] | n/a |
void — No return information has been documented for this function.
<?php
//Set the variables for the example
$blOverrideSendEmail = false;
//Call the function resetPassword with the example vars
$resUser = new \Twist\Core\Models\User\User();
$resUser -> resetPassword($blOverrideSendEmail);