Skip to content

Commit

Permalink
Fix to activate reset password change button when meeting all criteria
Browse files Browse the repository at this point in the history
  • Loading branch information
shuki25 committed Apr 11, 2021
1 parent d7ea87b commit 556e75a
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions templates/security/reset_pw.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,12 @@
</div>
{% endblock %}
{% block javascripts %}
{{ parent() }}
<script src="{{ asset('js/password_change.js') }}"></script>
{% if error %}
<script>
$('#errorModal').modal('show');
</script>
{% endif %}
{{ parent() }}
<script>const AJAX_URL = '{{ path('ajax_password_strength', {'_locale': app.request.attributes.get('_locale')}) }}';</script>
<script src="{{ asset('js/password_change.js') }}"></script>
{% if error %}
<script>
$('#errorModal').modal('show');
</script>
{% endif %}
{% endblock %}

0 comments on commit 556e75a

Please sign in to comment.