Skip to content

Commit

Permalink
Adding more documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Feb 4, 2011
1 parent e155e6a commit 23db2f0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cake/libs/controller/components/auth.php
Expand Up @@ -582,7 +582,9 @@ public function user($key = null) {
}

/**
* If no parameter is passed, gets the authentication redirect URL.
* If no parameter is passed, gets the authentication redirect URL. Pass a url in to
* set the destination a user should be redirected to upon logging in. Will fallback to
* AuthComponent::$loginRedirect if there is no stored redirect value.
*
* @param mixed $url Optional URL to write as the login redirect URL.
* @return string Redirect URL
Expand Down

0 comments on commit 23db2f0

Please sign in to comment.