Reset a user's password. Used for example when the user does not
remember the existing password.
public resetPassword ( string $userId ) : string | ||
$userId | string | The user id for which to reset the password. |
Résultat | string | The new password on success. |