allowed login models and update of login controller
This commit is contained in:
@@ -18,15 +18,6 @@ class UserPermission extends Model
|
||||
|
||||
protected $table = 'user_permissions';
|
||||
|
||||
/**
|
||||
* The attributes that should be hidden for arrays
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $hidden = [];
|
||||
|
||||
protected $guarded = [];
|
||||
|
||||
public function user() {
|
||||
return $this->belongsTo(User::class);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user