Log activity when modifying account details

This commit is contained in:
DaneEveritt 2022-05-29 18:48:35 -04:00
parent 0b2c0db170
commit 287fd60891
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
15 changed files with 85 additions and 57 deletions

View file

@ -216,7 +216,7 @@ class User extends Model implements
*/
public function sendPasswordResetNotification($token)
{
Activity::event('login.reset-password')
Activity::event('auth:reset-password')
->withRequestMetadata()
->subject($this)
->log('sending password reset email');