Skip to content

Commit

Permalink
Use getter for getAuthPassword attribute key (#51186)
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel-H123 authored Apr 23, 2024
1 parent 79c9874 commit 0546f75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Illuminate/Auth/GenericUser.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public function getAuthPasswordName()
*/
public function getAuthPassword()
{
return $this->attributes['password'];
return $this->attributes[$this->getAuthPasswordName()];
}

/**
Expand Down

0 comments on commit 0546f75

Please sign in to comment.