AuthComponent::login() returning deprecated method

Changed $this->loggedIn() to $this->user(), as per the PHPDOC for loggedIn() at line 817
This commit is contained in:
Joseph Sutton 2014-09-14 00:28:30 -05:00
parent 9e4446fe5f
commit 87a58eeaea

View file

@ -604,7 +604,7 @@ class AuthComponent extends Component {
$this->Session->renew();
$this->Session->write(self::$sessionKey, $user);
}
return $this->loggedIn();
return $this->user();
}
/**