{# Reset password email (plain text) #}
{%- import 'emails/login/_text-utils.txt.twig' as text -%}
{%- set subject = 'PLUGIN_LOGIN.FORGOT_EMAIL_SUBJECT'|t(site_name) -%}
{%- do email.message.setSubject(subject) -%}
{{ text.from_html('PLUGIN_LOGIN.HOST_WARNING'|t(site_host)) }}

{{ text.from_html('PLUGIN_LOGIN.FORGOT_EMAIL_BODY'|t(user.fullname ?? user.username, reset_link, author, site_name)) }}

{{ reset_link }}
