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 fcd5fd4a74
commit 68319c8dc5
5 changed files with 79 additions and 72 deletions
+1
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) {