mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/unity.git
synced 2026-08-19 12:24:01 +00:00
hide id
This commit is contained in:
@@ -21,11 +21,15 @@ class Admin extends Authenticatable
|
||||
protected $table = 'admins';
|
||||
|
||||
protected $fillable = [
|
||||
'name', 'email', 'password',
|
||||
'id',
|
||||
'name',
|
||||
'email',
|
||||
'password'
|
||||
];
|
||||
|
||||
protected $hidden = [
|
||||
'password', 'pivot'
|
||||
'password',
|
||||
'pivot'
|
||||
];
|
||||
|
||||
protected $appends = ['hash_id', 'role_list', 'permission_list'];
|
||||
|
||||
Reference in New Issue
Block a user