#31764: Add a way to allow subdomain wildcards in the set of allowed hosts for
redirects after login/logout
----------------------------------------+------------------------
Reporter: jhhayashi | Owner: nobody
Type: New feature | Status: new
Component: contrib.auth | Version: 3.1
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 1
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
----------------------------------------+------------------------
The ALLOWED_HOSTS setting allows you to set wildcard subdomains. There is
a success_url_allowed_hosts attribute in the LoginView and LogoutView, but
these don't accept wildcard subdomains. It would be nice to add an option
that allows that.
I have prepared a patch here:
https://github.com/jhhayashi/django/tree/jhh/allow_wildcard_host_redirects
--
Ticket URL: <https://code.djangoproject.com/ticket/31764>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/052.2c69918ac871fe93884bd1ad09ddd872%40djangoproject.com.