Merge branch 'fix-auth' into develop

This commit is contained in:
Shawn McCool
2012-05-27 20:29:38 +02:00

View File

@@ -109,7 +109,7 @@ abstract class Driver {
{
// 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;