From fca5884baaef518ad75f3dd521516e11e83a4c82 Mon Sep 17 00:00:00 2001 From: philipp lang Date: Wed, 17 Nov 2021 22:34:24 +0100 Subject: [PATCH] Fixed: get lastname --- src/NamiUser.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/NamiUser.php b/src/NamiUser.php index 15784e5..b1b50df 100644 --- a/src/NamiUser.php +++ b/src/NamiUser.php @@ -55,7 +55,7 @@ class NamiUser implements Authenticatable { } public function getLastname() { - return $this->firstname; + return $this->lastname; } public function getAuthIdentifier() {