Fix bug where username/password values not clearing. (#21033)

This commit is contained in:
Cheena Malhotra
2022-10-28 17:14:40 -07:00
committed by GitHub
parent 0dc8e18230
commit 0bfb220538

View File

@@ -527,8 +527,8 @@ export class ConnectionWidget extends lifecycle.Disposable {
protected onAuthTypeSelected(selectedAuthType: string) {
let currentAuthType = this.getMatchingAuthType(selectedAuthType);
this._userNameInputBox.value === '';
this._passwordInputBox.value === '';
this._userNameInputBox.value = '';
this._passwordInputBox.value = '';
this._userNameInputBox.hideMessage();
this._passwordInputBox.hideMessage();
this._azureAccountDropdown.hideMessage();