Project

General

Profile

0001-templates-disable-HTML5-validation-of-login-form-314.patch

Frédéric Péters, 17 Mar 2019 12:22 PM

Download (967 Bytes)

View differences:

Subject: [PATCH] templates: disable HTML5 validation of login form (#31493)

 src/authentic2/templates/authentic2/login_password_form.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
src/authentic2/templates/authentic2/login_password_form.html
1 1
{% load i18n staticfiles %}
2 2
<div>
3
<form method="post" action="">
3
<form method="post" action="" formnovalidate="formnovalidate">
4 4
{% csrf_token %}
5 5
{{ form.as_p }}
6 6
<button class="submit-button" name="{{ submit_name }}">{% trans "Log in" %}</button>
7
-