user destroying flow updated
This commit is contained in:
@ -89,6 +89,11 @@ class User extends Authenticatable implements HasLocalePreference
|
||||
return $this->belongsToMany('App\Models\Common\Dashboard', 'App\Models\Auth\UserDashboard');
|
||||
}
|
||||
|
||||
public function invitation()
|
||||
{
|
||||
return $this->hasOne('App\Models\Auth\UserInvitation', 'user_id', 'id');
|
||||
}
|
||||
|
||||
/**
|
||||
* Always capitalize the name when we retrieve it
|
||||
*/
|
||||
|
Reference in New Issue
Block a user