diff --git a/src/Auth/User.php b/src/Auth/User.php index a7d66da..4bf44c9 100644 --- a/src/Auth/User.php +++ b/src/Auth/User.php @@ -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; } /**