sentinel
sentinel copied to clipboard
Reminder::complete() returns true, not updating password
Password remains the same after a password reset and a successful call of reminder complete.
E.g.
- Current password is set to 'password'
- Run reset and receive link with reminder code
- Enter new password 'Password1' and be redirected to login
Password hash on Users table is not updating, complete still returns true. Step debugged through it and didn't see an initial issue in IlluminateReminderRepository::complete(). Might be something with persistence of the data on $reminder->save()?
Resolved::
This occurred because of modifying the Config for Cartalyst.Sentinel to utilize:
'users' => [
// 'model' => 'Cartalyst\Sentinel\Users\EloquentUser',
'model' => 'App\Models\Users',
],
As on the Users model I have extended EloquentUser. Because this is set the password column must be added as a $fillable on the Users::class. Closing ticket.
Thanks for the great package. Cheers.