Hello,
I have the form completed, but need to know what steps to do in controller to apply user changes.
Thanks
Frank
This is working below. Is this the best way to do this?
$user = $this->getUser(); $row = $this->database->table('users')->get($user->id); $data['password'] = Passwords::hash($values['new_password']); $row->update($data);
Yes, it is the best way.