File path: dist/twist/Core/Utilities/User.utility.php
Namespace: Twist\Core\Utilities
Extends: Base
updatePassword
— Update the users password to a new password. THis is the non secure method for when you don't know the users original password.
Default use would be for a forgotten password system etc.
Name | Description |
---|---|
$intUserID | n/a |
$strNewPassword | n/a |
void — No return information has been documented for this function.
<?php
//Set the variables for the example
$intUserID = 124;
$strNewPassword = 'foo';
//Call the function updatePassword with the example vars
Twist::User() -> updatePassword($intUserID, $strNewPassword);