Merge "Don't add required attribute to html form fields" into stable/pike

This commit is contained in:
Zuul 2018-02-17 04:47:36 +00:00 committed by Gerrit Code Review
commit 28c81e3432
1 changed files with 1 additions and 0 deletions

View File

@ -47,6 +47,7 @@ class Login(django_auth_forms.AuthenticationForm):
Inherits from the base ``django.contrib.auth.forms.AuthenticationForm``
class for added security features.
"""
use_required_attribute = False
region = forms.ChoiceField(label=_("Region"), required=False)
username = forms.CharField(
label=_("User Name"),