Fix team authorization, invite revocation, and slug handling
This commit is contained in:
@@ -21,7 +21,7 @@ class UserResource extends JsonResource
|
||||
return [
|
||||
'name' => $this->name,
|
||||
'email' => $this->email,
|
||||
'has_multi_factor' => $this->hasVerifiedEmail() || $this->hasEnabledTwoFactorAuthentication(),
|
||||
'has_multi_factor' => $this->hasEnabledTwoFactorAuthentication(),
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user