feat(admin): Admin settings should only apply if adminControlsApplicable = true and fetch errors should be fatal (#19453)

This commit is contained in:
Shreya Keshive
2026-02-18 17:54:07 -05:00
committed by GitHub
parent 012392ad0a
commit 261788cf91
5 changed files with 79 additions and 72 deletions

View File

@@ -699,6 +699,7 @@ export const AppContainer = (props: AppContainerProps) => {
settings.setValue(scope, 'security.auth.selectedType', authType);
try {
config.setRemoteAdminSettings(undefined);
await config.refreshAuth(authType);
setAuthState(AuthState.Authenticated);
} catch (e) {