forked from xiongyuxing/tiku-backend.net
feat: harden SaaS authentication and authorization
This commit is contained in:
@@ -28,8 +28,7 @@ public sealed class SecurityDiagnosticsController(
|
||||
{
|
||||
return Ok(new
|
||||
{
|
||||
currentTenant.TenantId,
|
||||
currentUser.TenantRole
|
||||
currentTenant.TenantId
|
||||
});
|
||||
}
|
||||
|
||||
@@ -39,8 +38,7 @@ public sealed class SecurityDiagnosticsController(
|
||||
{
|
||||
return Ok(new
|
||||
{
|
||||
currentTenant.TenantId,
|
||||
currentUser.TenantRole
|
||||
currentTenant.TenantId
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user