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 authored and freekmurze committed Mar 8, 2024
1 parent 6842086 commit 2caf20d
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 2caf20d

Please sign in to comment.