remove SQL Login from CMS and add error messages (#5873)

This commit is contained in:
Aditya Bist
2019-06-04 12:52:46 -07:00
committed by GitHub
parent 4ad226570a
commit 6197279e83
8 changed files with 34 additions and 66 deletions

View File

@@ -20,7 +20,6 @@ export class CmsConnectionController extends ConnectionController {
connectionProperties: ConnectionProviderProperties,
callback: IConnectionComponentCallbacks,
providerName: string,
authTypeChanged: boolean = false,
@IInstantiationService _instantiationService: IInstantiationService) {
super(connectionManagementService, connectionProperties, callback, providerName, _instantiationService);
let specialOptions = this._providerOptions.filter(
@@ -34,11 +33,11 @@ export class CmsConnectionController extends ConnectionController {
serverName, authenticationType, userName, password).then(result => {
return result;
})
}, providerName, authTypeChanged);
}, providerName);
}
public showUiComponent(container: HTMLElement, authTypeChanged: boolean = false): void {
public showUiComponent(container: HTMLElement): void {
this._databaseCache = new Map<string, string[]>();
this._connectionWidget.createConnectionWidget(container, authTypeChanged);
this._connectionWidget.createConnectionWidget(container);
}
}