Auth/User: fix typo
This commit is contained in:
parent
b2566f90e3
commit
fe0ed9035f
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue