1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-07-22 17:18:37 +00:00

Merge pull request #2620 from wallabag/fix-password-layout

Fix password layout
This commit is contained in:
Jeremy Benoist 2016-11-23 09:53:18 +01:00 committed by GitHub
commit f4a9833490
17 changed files with 72 additions and 28 deletions

View file

@ -48,7 +48,7 @@ class UserRepository extends EntityRepository
{
return $this->createQueryBuilder('u')
->select('count(u)')
->andWhere('u.expired = false')
->andWhere('u.enabled = true')
->getQuery()
->getSingleScalarResult();
}

View file

@ -5,7 +5,7 @@
{% block fos_user_content %}
<div class="card-content">
<div class="row">
{{ 'resetting.check_email'|trans({'%email%': email}) }}
<p>{{ 'resetting.check_email'|trans({'%tokenLifetime%': tokenLifetime}) }}</p>
</div>
</div>
{% endblock fos_user_content %}