Hi @ll!
How to make a user's password change form?
Thanks in advance!
How to make a user's password change form?
Thanks in advance!
<?php
$user = JFactory::getUser();
return array("id" => $user->get("id"));
?>
<?php
$hash = JUserHelper::hashPassword($form->data['Data']['password']);
$form->data['Data']['password'] = $hash;
?>