we are trying to set the password of an user through the frontend (not within the panel). To achieve this we use the following function:
$site->user()->update(array('password' => password::hash($theNewPassword)))
This saves a corresponding hash to the database, but it is not possible to login with the user any more.
How can this be solved?