mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
commit
7f2e0a29a4
1 changed files with 1 additions and 0 deletions
|
@ -806,6 +806,7 @@ class AuthComponent extends Component {
|
|||
* Check whether or not the current user has data in the session, and is considered logged in.
|
||||
*
|
||||
* @return boolean true if the user is logged in, false otherwise
|
||||
* @deprecated Since 2.5. Use AuthComponent::user() directly.
|
||||
*/
|
||||
public function loggedIn() {
|
||||
return (bool)$this->user();
|
||||
|
|
Loading…
Reference in a new issue