{"action":"opened","issue":{"url":"https://api.github.com/repos/krafthaus/bauhaus/issues/74","labels_url":"https://api.github.com/repos/krafthaus/bauhaus/issues/74/labels{/name}","comments_url":"https://api.github.com/repos/krafthaus/bauhaus/issues/74/comments","events_url":"https://api.github.com/repos/krafthaus/bauhaus/issues/74/events","html_url":"https://github.com/krafthaus/bauhaus/issues/74","id":107711492,"number":74,"title":"Not saving User created in admin","user":{"login":"cwiggan","id":1569958,"avatar_url":"https://avatars.githubusercontent.com/u/1569958?v=3","gravatar_id":"","url":"https://api.github.com/users/cwiggan","html_url":"https://github.com/cwiggan","followers_url":"https://api.github.com/users/cwiggan/followers","following_url":"https://api.github.com/users/cwiggan/following{/other_user}","gists_url":"https://api.github.com/users/cwiggan/gists{/gist_id}","starred_url":"https://api.github.com/users/cwiggan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cwiggan/subscriptions","organizations_url":"https://api.github.com/users/cwiggan/orgs","repos_url":"https://api.github.com/users/cwiggan/repos","events_url":"https://api.github.com/users/cwiggan/events{/privacy}","received_events_url":"https://api.github.com/users/cwiggan/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-09-22T13:10:19Z","updated_at":"2015-09-22T13:10:19Z","closed_at":null,"body":"When i add  a user in the admin, it says user created, but there is no record in the database. any idea how to correct this?\r\n\r\n<?php\r\n\r\nuse KraftHaus\\Bauhaus\\Admin;\r\n\r\nclass UserAdmin extends Admin\r\n{\r\n\r\n    public function configureList($mapper)\r\n    {\r\n        $mapper->identifier('email');\r\n        $mapper->string('username');\r\n    }\r\n\r\n    public function configureForm($mapper)\r\n    {\r\n        $mapper->text('username');\r\n        $mapper->text('email');\r\n        $mapper->password('password');\r\n        $mapper->password('password_confirmation')->label('Confirm Password');;\r\n       // $mapper->belongsToMany('roles')->display('name');\r\n    }\r\n\r\n    public function configureFilters($mapper)\r\n    {\r\n        // ...\r\n    }\r\n\r\n}\r\n<?php\r\n\r\nuse Zizaco\\Confide\\ConfideUser;\r\nuse Zizaco\\Confide\\ConfideUserInterface;\r\nuse Zizaco\\Entrust\\HasRole;\r\n\r\n\r\nclass User extends Eloquent implements ConfideUserInterface\r\n{\r\n    use ConfideUser;\r\n    use HasRole; // Add this trait to your user model\r\n\r\n\r\n    protected $fillable = ['username', 'email','password'];\r\n\r\n\r\n}\r\n"}}