{"action":"created","issue":{"url":"https://api.github.com/repos/laravel/framework/issues/7900","labels_url":"https://api.github.com/repos/laravel/framework/issues/7900/labels{/name}","comments_url":"https://api.github.com/repos/laravel/framework/issues/7900/comments","events_url":"https://api.github.com/repos/laravel/framework/issues/7900/events","html_url":"https://github.com/laravel/framework/issues/7900","id":60053850,"number":7900,"title":"Password Hidden Error","user":{"login":"EliuFlorez","id":784787,"avatar_url":"https://avatars.githubusercontent.com/u/784787?v=3","gravatar_id":"","url":"https://api.github.com/users/EliuFlorez","html_url":"https://github.com/EliuFlorez","followers_url":"https://api.github.com/users/EliuFlorez/followers","following_url":"https://api.github.com/users/EliuFlorez/following{/other_user}","gists_url":"https://api.github.com/users/EliuFlorez/gists{/gist_id}","starred_url":"https://api.github.com/users/EliuFlorez/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EliuFlorez/subscriptions","organizations_url":"https://api.github.com/users/EliuFlorez/orgs","repos_url":"https://api.github.com/users/EliuFlorez/repos","events_url":"https://api.github.com/users/EliuFlorez/events{/privacy}","received_events_url":"https://api.github.com/users/EliuFlorez/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-06T03:23:03Z","updated_at":"2015-03-06T05:27:16Z","closed_at":null,"body":"The password and remember_token still reflected in the data of Auth::user()->password\r\n\r\n![password-hidden](https://cloud.githubusercontent.com/assets/784787/6519683/04cb77ca-c38a-11e4-9dcc-b6dbdf789169.png)"},"comment":{"url":"https://api.github.com/repos/laravel/framework/issues/comments/77508828","html_url":"https://github.com/laravel/framework/issues/7900#issuecomment-77508828","issue_url":"https://api.github.com/repos/laravel/framework/issues/7900","id":77508828,"user":{"login":"overtrue","id":1472352,"avatar_url":"https://avatars.githubusercontent.com/u/1472352?v=3","gravatar_id":"","url":"https://api.github.com/users/overtrue","html_url":"https://github.com/overtrue","followers_url":"https://api.github.com/users/overtrue/followers","following_url":"https://api.github.com/users/overtrue/following{/other_user}","gists_url":"https://api.github.com/users/overtrue/gists{/gist_id}","starred_url":"https://api.github.com/users/overtrue/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/overtrue/subscriptions","organizations_url":"https://api.github.com/users/overtrue/orgs","repos_url":"https://api.github.com/users/overtrue/repos","events_url":"https://api.github.com/users/overtrue/events{/privacy}","received_events_url":"https://api.github.com/users/overtrue/received_events","type":"User","site_admin":false},"created_at":"2015-03-06T05:27:16Z","updated_at":"2015-03-06T05:27:16Z","body":"![image](https://cloud.githubusercontent.com/assets/1472352/6520618/1fb0ea46-c404-11e4-83a7-41a098588473.png)\r\n\r\ntry :\r\n\r\n```php\r\ndd($user->toArray()); // or ->toJson();\r\n```\r\n\r\n>  Sometimes you may wish to limit the attributes that are included in your model's array or JSON form, such as passwords. To do so, add a hidden property definition to your model\r\n\r\n\"your model's array or JSON\"\r\n\r\nhttp://laravel.com/docs/5.0/eloquent\r\n"}}