Merge branch 'fix-auth' into staging

This commit is contained in:
Shawn McCool 2012-05-27 20:29:33 +02:00
commit 988dae2488
1 changed files with 1 additions and 1 deletions

View File

@ -109,7 +109,7 @@ public function login($token, $remember = false)
{
// if the token is an Eloquent model
// set the token from the id field
if ($token instanceof Eloquent) $token = $token->id;
if ($token instanceof Eloquent) $token = $token->get_key();
$this->token = $token;