fixup! add personal user data fields

This commit is contained in:
Bence Pőcze 2023-04-09 02:50:20 +02:00
parent 4b1b02940a
commit c6664f3476
Signed by: bence
GPG Key ID: DC5BD6E95A333E6D

View File

@ -168,7 +168,7 @@ class User extends Model implements IUser
public function getDisplayName(): string public function getDisplayName(): string
{ {
return $this->nickname ?: $this->fullName ?: $this->username ?: $this->email; return $this->nickname ?: $this->fullName;
} }
public function checkPassword(string $password): bool public function checkPassword(string $password): bool