/* * Make basic reset_password forms */ /* eslint-disable max-len */ import { getTTag } from '../core/ttag'; export default function getPasswordResetHtml(name, code, lang, message = null) { const { t } = getTTag(lang); let html; if (message) { html = ` ${t`PixelPlanet.fun Password Reset`}

${t`Reset Password`}

${message}

${t`Click here`} ${t`to go back to pixelplanet`}

`; } else { html = ` ${t`PixelPlanet.fun Password Reset`}

${t`Reset Password`}

${t`Hello ${name}, you can set your new password here:`}

`; } return html; }