Merge branch 'fix-auth' into develop
This commit is contained in:
commit
278dbf7a1d
|
@ -109,7 +109,7 @@ public function login($token, $remember = false)
|
||||||
{
|
{
|
||||||
// if the token is an Eloquent model
|
// if the token is an Eloquent model
|
||||||
// set the token from the id field
|
// 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;
|
$this->token = $token;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue