Browse Source

Set token.

Taylor Otwell 12 years ago
parent
commit
f0a6111021
1 changed files with 2 additions and 0 deletions
  1. 2 0
      laravel/auth/drivers/driver.php

+ 2 - 0
laravel/auth/drivers/driver.php

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