Added remember_token to protected $hidden variable
This commit is contained in:
@@ -17,7 +17,7 @@ class User extends Eloquent implements UserInterface, RemindableInterface {
|
|||||||
*
|
*
|
||||||
* @var array
|
* @var array
|
||||||
*/
|
*/
|
||||||
protected $hidden = array('password');
|
protected $hidden = array('password', 'remember_token');
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the unique identifier for the user.
|
* Get the unique identifier for the user.
|
||||||
|
|||||||
Reference in New Issue
Block a user