Set token.

This commit is contained in:
Taylor Otwell 2012-05-02 15:41:38 -05:00
parent b10b8e3862
commit f0a6111021
1 changed files with 2 additions and 0 deletions

View File

@ -105,6 +105,8 @@ abstract public function attempt($arguments = array());
*/ */
public function login($token, $remember = false) public function login($token, $remember = false)
{ {
$this->token = $token;
$this->store($token); $this->store($token);
if ($remember) $this->remember($token); if ($remember) $this->remember($token);