Browse Source

Update Auth.md

Mark S 10 years ago
parent
commit
fd9c70c44b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      docs/Auth/Auth.md

+ 1 - 1
docs/Auth/Auth.md

@@ -25,7 +25,7 @@ Both component and helper function the same:
 
 
 ```php
 ```php
 // Read the id of the logged in user as shortcut method (Auth.User.id)
 // Read the id of the logged in user as shortcut method (Auth.User.id)
-$uid = $this-AuthUser->id();
+$uid = $this->AuthUser->id();
 
 
 // Get the username (Auth.User.username)
 // Get the username (Auth.User.username)
 $username = $this->AuthUser->user('username');
 $username = $this->AuthUser->user('username');