Skip to content

Commit

Permalink
feat: add method to return auth password name in User model test
Browse files Browse the repository at this point in the history
This is required to be compatible with the rehashing password feature here laravel/framework#48665
  • Loading branch information
StevePorter92 committed Feb 8, 2024
1 parent 791db52 commit cf14db2
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/Models/User.php
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,11 @@ public function getAuthIdentifier()
return $this->attributes[$name];
}

public function getAuthPasswordName()
{
return 'password';
}

public function getAuthPassword()
{
return $this->attributes['password'];
Expand Down

0 comments on commit cf14db2

Please sign in to comment.