Update User model

This commit is contained in:
Visman 2023-04-30 13:28:58 +07:00
parent 0dc8a80645
commit 600ff5d9da

View file

@ -405,7 +405,9 @@ class User extends DataModel
public function fLog(): string
{
return "id:{$this->id} gid:{$this->group_id} name:{$this->username}";
return $this->isGuest
? "id:{$this->id} gid:{$this->group_id} guest"
: "id:{$this->id} gid:{$this->group_id} name:{$this->username}";
}
/**