Skip to content

Commit

Permalink
- Prevent logging login_attempts update
Browse files Browse the repository at this point in the history
  • Loading branch information
dash8x committed Mar 28, 2024
1 parent ba17503 commit f594b4a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/User.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,9 @@ abstract class User extends Authenticatable implements AdminModel, HasMedia, Mus
protected static array $ignoreChangedAttributes = [
'updated_at',
'created_at',
'last_login_at'
'last_login_at',
'remember_token',
'login_attempts',
];

/**
Expand Down

0 comments on commit f594b4a

Please sign in to comment.