This commit is contained in:
21 files changed
+844
-15
No files matched your search
@@ -171,6 +171,11 @@ class User extends Model implements IUser
|
||||
return $this->nickname ?: $this->fullName;
|
||||
}
|
||||
|
||||
public function getFullDisplayName(): string
|
||||
{
|
||||
return $this->nickname ? $this->nickname . ' (' . $this->fullName . ')' : $this->fullName;
|
||||
}
|
||||
|
||||
public function checkPassword(string $password): bool
|
||||
{
|
||||
if ($this->password === null) {
|
||||
|
||||
Reference in new issue
Block a user