Commit 278dbf7a by Shawn McCool

Merge branch 'fix-auth' into develop

parents 548e73ac 3c43f5fa
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment