master
cody 2 years ago
parent a38c9a84c0
commit 41f95ed763

@ -55,7 +55,7 @@ class Admin extends Authenticatable implements Auditable
use SoftDeletes;
use \OwenIt\Auditing\Auditable;
CONST GUARD_NAME = "admin";
const GUARD_NAME = "admin";
public function guardName()
{
@ -67,9 +67,7 @@ class Admin extends Authenticatable implements Auditable
*
* @var array
*/
protected $fillable = [
'name', 'username', 'password','project_ids','remember_token'
];
protected $guarded = ['id'];
/**
* The attributes that should be hidden for arrays.

Loading…
Cancel
Save