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