Skip to content

Commit a6a01b9

Browse files
committed
Merge pull request laravel#2851 from juukie14/user-model-hidden
Added remember_token to protected $hidden variable
2 parents 01e009a + 65db159 commit a6a01b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/models/User.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@ class User extends Eloquent implements UserInterface, RemindableInterface {
2121
*
2222
* @var array
2323
*/
24-
protected $hidden = array('password');
24+
protected $hidden = array('password', 'remember_token');
2525

2626
}

0 commit comments

Comments
 (0)