mirror of
https://github.com/dbeaver/cloudbeaver.git
synced 2026-09-24 16:04:36 +08:00
fix: CB-1462 primary authentication for admin page
This commit is contained in:
@@ -97,6 +97,9 @@ export function useAuthDialogState(providerId: string | null): IState {
|
||||
|
||||
get configure(): boolean {
|
||||
if (this.activeProvider) {
|
||||
if (this.adminPageActive && authProvidersResource.resource.isPrimary(this.activeProvider.id)) {
|
||||
return false;
|
||||
}
|
||||
return !authProvidersResource.resource.isAuthEnabled(this.activeProvider.id);
|
||||
}
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user