mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-01-19 09:35:36 -05:00
Add change password function and handling (#1771)
* added ChangePassword to connectionService * added changepasswordparams * added more code * added more changes to connectionservice * added more changes * added small test * added changepasswordrequest * added different ServerConnection constructor * consolidated changepassword * added exception catch * added passwordChangeFail params * added changePassword to it's own function * simplified changePassword * made fixes to test * added new test * added one additional connection test * added response callback * removed unnecessary SendError * added localized empty password error * added updated error messages * added small fix to check * added changes based on feedback * added minor change * fix tests * renamed messages to errorDetails * simplified error message * small change to connectionservice message * error message change * added environment newline * added error retry messages to STS * added regex * added newline handling
This commit is contained in:
@@ -45,6 +45,20 @@ ConnectionServiceConnStringInvalidIntent(string intent) = Invalid value '{0}' fo
|
||||
|
||||
ConnectionServiceConnectionCanceled = Connection canceled
|
||||
|
||||
### Password Change
|
||||
|
||||
PasswordChangeEmptyPassword = New password cannot be empty
|
||||
|
||||
PasswordChangeEmptyPasswordRetry = Press OK to input a new password that is not empty.
|
||||
|
||||
PasswordChangeDNMReqs = password does not meet operating system policy requirements
|
||||
|
||||
PasswordChangeDNMReqsRetry = Press OK to input a new password that meets operating system policy requirements.
|
||||
|
||||
PasswordChangePWCannotBeUsed = password cannot be used at this time
|
||||
|
||||
PasswordChangePWCannotBeUsedRetry = Press OK to input a different password.
|
||||
|
||||
### Connection Params Validation Errors
|
||||
|
||||
ConnectionParamsValidateNullOwnerUri = OwnerUri cannot be null or empty
|
||||
|
||||
Reference in New Issue
Block a user