Skip to content

Commit

Permalink
fix: password saved due to creating issue
Browse files Browse the repository at this point in the history
  • Loading branch information
phpsa authored Sep 11, 2024
1 parent 174456a commit 704b4b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Traits/CanRenewPassword.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ trait CanRenewPassword
{
public function initializeCanRenewPassword()
{
static::saving(function (self $user) {
static::saved(function (self $user) {

$field = method_exists($user, 'getAuthPasswordName') ? $user->getAuthPasswordName() : 'password';

Expand Down

0 comments on commit 704b4b9

Please sign in to comment.