Commit 3c43f5fa authored by Shawn McCool's avatar Shawn McCool

updated auth::login to use get_key()

parent ffa9c799
......@@ -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