Visman 2 anni fa
parent
commit
600ff5d9da
1 ha cambiato i file con 3 aggiunte e 1 eliminazioni
  1. 3 1
      app/Models/User/User.php

+ 3 - 1
app/Models/User/User.php

@@ -405,7 +405,9 @@ class User extends DataModel
 
 
     public function fLog(): string
     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}";
     }
     }
 
 
     /**
     /**