mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-02-09 09:42:35 -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:
@@ -168,6 +168,30 @@
|
||||
<value>Connection canceled</value>
|
||||
<comment></comment>
|
||||
</data>
|
||||
<data name="PasswordChangeEmptyPassword" xml:space="preserve">
|
||||
<value>New password cannot be empty</value>
|
||||
<comment></comment>
|
||||
</data>
|
||||
<data name="PasswordChangeEmptyPasswordRetry" xml:space="preserve">
|
||||
<value>Press OK to input a new password that is not empty.</value>
|
||||
<comment></comment>
|
||||
</data>
|
||||
<data name="PasswordChangeDNMReqs" xml:space="preserve">
|
||||
<value>password does not meet operating system policy requirements</value>
|
||||
<comment></comment>
|
||||
</data>
|
||||
<data name="PasswordChangeDNMReqsRetry" xml:space="preserve">
|
||||
<value>Press OK to input a new password that meets operating system policy requirements.</value>
|
||||
<comment></comment>
|
||||
</data>
|
||||
<data name="PasswordChangePWCannotBeUsed" xml:space="preserve">
|
||||
<value>password cannot be used at this time</value>
|
||||
<comment></comment>
|
||||
</data>
|
||||
<data name="PasswordChangePWCannotBeUsedRetry" xml:space="preserve">
|
||||
<value>Press OK to input a different password.</value>
|
||||
<comment></comment>
|
||||
</data>
|
||||
<data name="ConnectionParamsValidateNullOwnerUri" xml:space="preserve">
|
||||
<value>OwnerUri cannot be null or empty</value>
|
||||
<comment></comment>
|
||||
|
||||
Reference in New Issue
Block a user