Skip to content

Commit

Permalink
Update code sample in readme: add redirection.
Browse files Browse the repository at this point in the history
  • Loading branch information
tomcur committed Apr 17, 2016
1 parent 0b18f4e commit 8f7f5ec
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ if(!$this->Auth->user())
$user = $this->Auth->identify();
if ($user) {
$this->Auth->setUser($user);
return $this->redirect($this->Auth->redirectUrl());
}
}
```
Expand Down

0 comments on commit 8f7f5ec

Please sign in to comment.