1
0
forked from baron/baron-sso

dev 반영 code check 오류 수정

This commit is contained in:
2026-05-06 17:34:58 +09:00
parent 0d259db7ce
commit d1859d593d
18 changed files with 159 additions and 102 deletions

View File

@@ -332,14 +332,18 @@ class _ErrorScreenState extends State<ErrorScreen> {
final showTenantLookupFallback =
_tenantAccessDetails == null &&
(emailLabel.isEmpty || tenantLabel.isEmpty);
final internalWhitelistDetail = internalWhitelistKey == null
? null
: tr(internalWhitelistKey);
final detail = isTenantAccessBlocked
? tr(
'msg.userfront.error.tenant.detail',
fallback: 'The current signed-in account cannot access this application.',
fallback:
'The current signed-in account cannot access this application.',
)
: isProd
? (isInternalWhitelisted
? tr(internalWhitelistKey!)
? internalWhitelistDetail!
: (isOryBypass
? tr(
'msg.userfront.error.ory.$normalizedCode',
@@ -444,7 +448,8 @@ class _ErrorScreenState extends State<ErrorScreen> {
child: Text(
tr(
'msg.userfront.error.tenant.loading',
fallback: 'Loading the current account details.',
fallback:
'Loading the current account details.',
),
style: theme.textTheme.bodySmall
?.copyWith(