{% extends 'email/base.html.twig' %}

{%- set subject = 'PLUGIN_LOGIN.FORGOT_EMAIL_SUBJECT'|t(site_name) %}

{%- do email.message.setSubject(subject) %}

{%- block content -%}
<h1>Password Reset</h1>
<p>
	Hi {{ user.fullname ?? user.username }},
</p>
<p>
	A password reset was requested for your admin account at <b>{{ site_name }}</b>.
</p>
<p>
	Click the button below to choose a new password:
</p>
<p>
	<br />
	<a href="{{ reset_link }}" class="btn-primary">Reset my password</a>
	<br />
	<br />
</p>
<p>
	Or copy and paste this link into your browser's address bar:
</p>
<p class="word-break" style="word-break: break-all;">
	<a href="{{ reset_link }}">{{ reset_link }}</a>
</p>
<p>
	This link will expire in 24 hours.
</p>
<p>
	If you did not request this reset you can safely ignore this email — your password will not change.
</p>
<p>
	<br />
	— {{ author ?: site_name }}
</p>
{%- endblock content -%}
