Fix more aspects of the password reset process

This commit is contained in:
Toby Zerner 2015-07-31 14:13:35 +09:30
parent 8db17b3fb8
commit 513d896f51
2 changed files with 6 additions and 1 deletions

View File

@ -65,7 +65,7 @@ class EditUserHandler
}
}
event(new UserWillBeSaved($actor, $actor, $data));
event(new UserWillBeSaved($user, $actor, $data));
$user->save();
$this->dispatchEventsFor($user);

View File

@ -12,6 +12,11 @@ class PasswordToken extends Model
*/
protected $table = 'password_tokens';
/**
* {@inheritdoc}
*/
public $dates = ['created_at'];
/**
* Use a custom primary key for this model.
*