From b98ae5ed58d2a46a6365a30f1b6b73e0deb2f69b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dani=C3=ABl?= Date: Mon, 22 Apr 2024 12:27:38 +0200 Subject: [PATCH] Use getter for getAuthPassword attribute key --- src/Illuminate/Auth/GenericUser.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Illuminate/Auth/GenericUser.php b/src/Illuminate/Auth/GenericUser.php index 57bab7c8435..d015e5b4b61 100755 --- a/src/Illuminate/Auth/GenericUser.php +++ b/src/Illuminate/Auth/GenericUser.php @@ -61,7 +61,7 @@ public function getAuthPasswordName() */ public function getAuthPassword() { - return $this->attributes['password']; + return $this->attributes[$this->getAuthPasswordName()]; } /**