CustomerChangePasswordControl
CustomerChangePasswordControl lets signed-in shoppers request a password change, validate the new password, and complete the change using a verification code.



Configurable properties
| Property | Default | Valid values or format | Effect |
|---|---|---|---|
CancelButtonTextString | Not specified | Sets the Cancel button text. | |
ChangePasswordInstructionTextString | Not specified | Sets the password-change instructions. | |
ConfirmButtonTextString | Not specified | Sets the confirmation button text. | |
ConfirmNewPasswordLabelTextString | Not specified | Sets the confirm-new-password label. | |
ConfirmNewPasswordMismatchMessageTextString | Not specified | Sets the new-password mismatch message. | |
CurrentPasswordLabelTextString | Not specified | Sets the current-password label. | |
CurrentPasswordMismatchMessageTextString | Not specified | Sets the current-password mismatch message. | |
LoginPageUrlNot specified | Not specified | Sets the login-page URL. | |
NewPasswordInvalidMessageTextString | Not specified | Sets the invalid-new-password message. | |
NewPasswordLabelTextString | Not specified | Sets the new-password label. | |
SubmitButtonTextString | Not specified | Sets the Submit button text. | |
SuccessMessageTextString | Not specified | Sets the successful-password-change message. | |
SuccessRedirectUrlString | Not specified | Sets the redirect destination after a successful password change. | |
VerificationCodeExpirationMessageTextString | Not specified | Sets the expired verification-code message. | |
VerificationCodeInstructionTextString | Not specified | Sets the verification-code instructions. | |
VerificationCodeLabelTextString | Not specified | Sets the verification-code label. | |
VerificationCodeMismatchMessageTextString | Not specified | Sets the verification-code mismatch message. |
SitePages.config example
The following example loads CustomerChangePasswordControl.ascx and applies the documented literal defaults. The following properties are omitted because they do not have documented literal defaults: CancelButtonText, ChangePasswordInstructionText, ConfirmButtonText, ConfirmNewPasswordLabelText, ConfirmNewPasswordMismatchMessageText, CurrentPasswordLabelText, CurrentPasswordMismatchMessageText, LoginPageUrl, NewPasswordInvalidMessageText, NewPasswordLabelText, SubmitButtonText, SuccessMessageText, SuccessRedirectUrl, VerificationCodeExpirationMessageText, VerificationCodeInstructionText, VerificationCodeLabelText, VerificationCodeMismatchMessageText.
<Control src="CustomerChangePasswordControl.ascx" />
Add this <Control> element to the appropriate page placeholder as described in The SitePages.config File.
Inherited properties
CustomerChangePasswordControl inherits shared conditions from CyberStoreBaseControl.