1fa9ae26cc
In Django 1.10 a new Form property was introduced, defaulting to True, which enabled HTML form validation for fields marked "required" in Django. This changed old behavior, which was that required fields were only validated server-side. This patch restores old behavior by setting use_required_attribute to False for the inherited AuthenticationForm. This problem arose because when WebSSO is enabled and a non-keystone-credentials authentication method is selected from the dropdown list, the now-hidden username and password fields are still marked "required" and still validated client-side, even though they are invisible to the user and cannot be filled in. It would be nice to fix the javascript to properly turn the "required" attribute on or off depending on what authentication method is selected and whether the "required" fields are even visible, but for now this just restores the behavior we had before Djanto 1.10. Change-Id: I3e798a2288d9c33396b40a86b07ea8c163d3b525 Closes-bug: #1703109 |
||
---|---|---|
doc/source | ||
openstack_auth | ||
tools | ||
.gitignore | ||
.gitreview | ||
.mailmap | ||
CONTRIBUTING.rst | ||
LICENSE | ||
MANIFEST.in | ||
README.rst | ||
babel-django.cfg | ||
requirements.txt | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
tox.ini |
README.rst
Team and repository tags
Django OpenStack Auth
Django OpenStack Auth is a pluggable Django authentication backend
that works with Django's contrib.auth
framework to
authenticate a user against OpenStack's Keystone Identity API.
The current version is designed to work with the Keystone v2.0 and v3 API.
You can view the installation instructions on Read The Docs.
- License: Apache License, Version 2.0
- Documentation: http://django-openstack-auth.readthedocs.org/en/latest/
- Source: http://git.openstack.org/cgit/openstack/django_openstack_auth/
- Bugs: https://bugs.launchpad.net/django-openstack-auth