{% if err=='ok' %}
Successful registration! You can log in.
{% elif err=='email_not_found' %}
Email does not exist.
{% elif err=='wrong_password' %}
Invalid password.
{% elif err=='forgot_sent' %}
A reset link has been sent to your email if it exists.
{% elif err=='reset_success' %}
Your password has been reset. Try to log in.
{% endif %}