Browse Source

Removed unneeded method call.

ADmad 11 years ago
parent
commit
8f718de8bd
1 changed files with 0 additions and 2 deletions
  1. 0 2
      src/Controller/Component/AuthComponent.php

+ 0 - 2
src/Controller/Component/AuthComponent.php

@@ -592,8 +592,6 @@ class AuthComponent extends Component {
  * @link http://book.cakephp.org/2.0/en/core-libraries/components/authentication.html#identifying-users-and-logging-them-in
  */
 	public function setUser(array $user) {
-		$this->_setDefaults();
-
 		$this->session->renew();
 		$this->session->write($this->sessionKey, $user);
 	}