-
Notifications
You must be signed in to change notification settings - Fork 68
Closed
Labels
BugBug FixBug Fix
Description
Hello, this is the current check_email template:
{% extends 'base.html.twig' %}
{% block title %}Password Reset Email Sent{% endblock %}
{% block body %}
<p>An email has been sent that contains a link that you can click to reset your password. This link will expire in {{ tokenLifetime|date('g') }} hour(s).</p>
<p>If you don't receive an email please check your spam folder or <a href="{{ path('app_forgot_password_request') }}">try again</a>.</p>
{% endblock %}
This prints the message:
An email has been sent that contains a link that you can click to reset your password. This link will expire in 2 hour(s).
Which is wrong because in the email I get "1 hour".
The problem is that tokenLifetime
contains "3600" and it's not a timestamp (thus cannot be converted to date?).
Thanks.
Metadata
Metadata
Assignees
Labels
BugBug FixBug Fix