From c6664f3476a190d439b4c4a0472d9831eaafc16a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?P=C5=91cze=20Bence?= Date: Sun, 9 Apr 2023 02:50:20 +0200 Subject: [PATCH] fixup! add personal user data fields --- src/PersistentData/Model/User.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PersistentData/Model/User.php b/src/PersistentData/Model/User.php index 364adbd..d0af3a9 100644 --- a/src/PersistentData/Model/User.php +++ b/src/PersistentData/Model/User.php @@ -168,7 +168,7 @@ class User extends Model implements IUser public function getDisplayName(): string { - return $this->nickname ?: $this->fullName ?: $this->username ?: $this->email; + return $this->nickname ?: $this->fullName; } public function checkPassword(string $password): bool