mirror of
https://github.com/dbeaver/cloudbeaver.git
synced 2026-10-24 23:05:29 +08:00
CB-2962 get default auth model fix (#1349)
This commit is contained in:
+1
-1
@@ -219,7 +219,7 @@ public class WebDatabaseDriverConfig {
|
||||
@Property
|
||||
public String getDefaultAuthModel() {
|
||||
for (DBPAuthModelDescriptor am : DataSourceProviderRegistry.getInstance().getApplicableAuthModels(driver)) {
|
||||
if (am.isDefaultModel()) {
|
||||
if (!am.isDesktopModel() && am.isDefaultModel()) {
|
||||
return am.getId();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user