Add Login Module
This commit is contained in:
@@ -28,7 +28,6 @@ public sealed class DefaultTenantResolver : ITenantResolver
|
||||
var cid = http.TraceIdentifier;
|
||||
var path = http.Request.Path.Value ?? string.Empty;
|
||||
|
||||
// ✅ ทางลัด: ขอ platform ตรง ๆ ด้วย hint
|
||||
if (hint is string hs && string.Equals(hs, "@platform", StringComparison.OrdinalIgnoreCase))
|
||||
{
|
||||
if (_map.TryGetBySlug(PlatformSlug, out var platform))
|
||||
|
||||
@@ -63,7 +63,6 @@ namespace AMREZ.EOP.Infrastructures.Tenancy;
|
||||
}
|
||||
}
|
||||
|
||||
// 3) Bootstrap 'public' ถ้ายังไม่มี (กัน chicken-and-egg)
|
||||
if (!map.TryGetBySlug("public", out _))
|
||||
{
|
||||
map.UpsertTenant(
|
||||
|
||||
Reference in New Issue
Block a user