new Auth0ChangePassword({ container: "change-password-widget-container", // required email: "{{email}}", // DO NOT CHANGE THIS csrf_token: '{{csrf_token}}', // DO NOT CHANGE THIS ticket: '{{ticket}}', // DO NOT CHANGE THIS password_policy: '{{password_policy}}', // DO NOT CHANGE THIS theme: { icon: "{{tenant.picture_url | default: '//cdn.auth0.com/styleguide/1.0.0/img/badge.png'}}", primaryColor: "#ea5323" }, dict: { // passwordPlaceholder: "your new password", // passwordConfirmationPlaceholder: "confirm your new password", // passwordConfirmationMatchError: "Please ensure the password and the confirmation are the same.", // passwordStrength: { // containsAtLeast: "Contain at least %d of the following %d types of characters:", // identicalChars: "No more than %d identical characters in a row (such as, \"%s\" not allowed)", // nonEmpty: "Non-empty password required", // numbers: "Numbers (such as 0-9)", // lengthAtLeast: "At least %d characters in length", // lowerCase: "Lower case letters (a-z)", // shouldContain: "Should contain:", // specialCharacters: "Special characters (such as !@#$%^&*)", // upperCase: "Upper case letters (A-Z)" // }, // successMessage: "Your password has been reset successfully.", // configurationError: "An error occurred. There appears to be a misconfiguration in the form.", // networkError: "The server cannot be reached, there is a problem with the network.", // timeoutError: "The server cannot be reached, please try again.", // serverError: "There was an error processing the password reset.", // headerText: "Enter a new password for<br />{email}", // title: "Change Password", // weakPasswordError: "Password is too weak." // passwordHistoryError: "Password has previously been used." } });