diff options
author | Zuul <zuul@review.openstack.org> | 2018-02-17 04:47:36 +0000 |
---|---|---|
committer | Gerrit Code Review <review@openstack.org> | 2018-02-17 04:47:36 +0000 |
commit | 28c81e3432b893574d6319e92f016b6830e99515 (patch) | |
tree | 1d1e831d2a7a553a35e0d80ec2bfa3c3a191432b | |
parent | 0bacf0032c47cbac5a2fc7fcca2568d847079255 (diff) | |
parent | 04491deed11022c29e24a02e69d750e981a7ac7a (diff) | |
download | django_openstack_auth-28c81e3432b893574d6319e92f016b6830e99515.tar.gz |
Merge "Don't add required attribute to html form fields" into stable/pike
-rw-r--r-- | openstack_auth/forms.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/openstack_auth/forms.py b/openstack_auth/forms.py index c7d0c51..107fb19 100644 --- a/openstack_auth/forms.py +++ b/openstack_auth/forms.py @@ -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"), |