-
Notifications
You must be signed in to change notification settings - Fork 459
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
prompt user for new credential if connection failed with login failed error #993
Conversation
private promptForRetryConnectWithDifferentCredentials(): PromiseLike<boolean> { | ||
// Ask if the user would like to fix the profile | ||
return this._vscodeWrapper.showErrorMessage(LocalizedConstants.msgPromptRetryConnectionDifferentCredentials | ||
, LocalizedConstants.retryLabel).then(result => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor: I'd just put this on 1 line even if it's a bit long #WontFix
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the long is too long so I get formatting error if I don't put them in to lines
In reply to: 140110249 [](ancestors = 140110249)
src/views/connectionUI.ts
Outdated
let connectionWithoutCredentials = Object.assign({}, connection, { user: '', password: '', emptyPasswordInput: false }); | ||
ConnectionCredentials.ensureRequiredPropertiesSet( | ||
connectionWithoutCredentials, | ||
true, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor: can you add comments for what these values are? A bunch of true / false / true makes it hard to read. #Resolved
TODO: have to add tests