mirror of
https://github.com/grafana/grafana.git
synced 2024-11-23 09:26:43 -06:00
Auth: Don't show LDAP CTA card (#72121)
This commit is contained in:
parent
1fde7f7f46
commit
a2442ef620
@ -48,7 +48,7 @@ export const AuthConfigPageUnconnected = ({ providerStatuses, isLoading, loadSet
|
||||
(p) => providerStatuses[p.id]?.configured && !providerStatuses[p.id]?.enabled
|
||||
);
|
||||
const availableProviders = authProviders.filter(
|
||||
(p) => !providerStatuses[p.id]?.enabled && !providerStatuses[p.id]?.configured
|
||||
(p) => !providerStatuses[p.id]?.enabled && !providerStatuses[p.id]?.configured && !providerStatuses[p.id]?.hide
|
||||
);
|
||||
const firstAvailableProvider = availableProviders?.length ? availableProviders[0] : null;
|
||||
|
||||
|
@ -12,6 +12,7 @@ export interface AuthProviderStatus {
|
||||
enabled: boolean;
|
||||
configured: boolean;
|
||||
configFoundInIniFile?: boolean;
|
||||
hide?: boolean;
|
||||
}
|
||||
|
||||
export interface SettingsError {
|
||||
|
Loading…
Reference in New Issue
Block a user