fixup! add personal user data fields
This commit is contained in:
parent
4b1b02940a
commit
c6664f3476
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user