mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-09-03 10:02:42 +00:00
Adding more documentation.
This commit is contained in:
parent
e155e6acba
commit
23db2f086e
1 changed files with 3 additions and 1 deletions
|
@ -582,7 +582,9 @@ class AuthComponent extends Component {
|
|||
}
|
||||
|
||||
/**
|
||||
* 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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue