Auth/User: fix typo

This commit is contained in:
Benjamin Renard 2024-12-04 10:54:55 +01:00
parent b2566f90e3
commit fe0ed9035f
Signed by: bn8
GPG key ID: 3E2E1CE1907115BC

View file

@ -172,7 +172,7 @@ class User implements \ArrayAccess {
public function __toString() {
if (isset($this -> name))
return sprintf('%s (%s)', $this -> name, $this -> username);
return $this -> namename;
return $this -> username;
}
/**