/** * @file * Stable theme overrides for user password forms. */ ((Drupal) => { /** * Constructs a password confirm message element * * @return {string} * A string representing a DOM fragment. */ Drupal.theme.passwordConfirmMessage = (translate) => `
`; /** * Constructs a password strength message. * * @param {object} passwordSettings * An object containing password related settings and translated text to * display. * @param {string} passwordSettings.strengthTitle * The title that precedes the strength text. * * @return {string} * Markup for password strength message. */ Drupal.theme.passwordStrength = ({ strengthTitle }) => { const strengthIndicator = ''; const strengthText = ''; return `