#36717: Admin login should redirect already logged-in users to page specified in
next parameter
--------------------------------+------------------------------------------
Reporter: Benedict Etzel | Owner: Benedict Etzel
Type: Bug | Status: assigned
Component: contrib.admin | Version: 5.2
Severity: Normal | Resolution:
Keywords: | Triage Stage: Unreviewed
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
--------------------------------+------------------------------------------
Changes (by Benedict Etzel):
* has_patch: 0 => 1
Comment:
I have a patch now in the linked branch.
The `url_if_safe check` comes from `contrib.auth.views.RedirectURLMixin`
(https://github.com/django/django/blob/77d455ae73b177a32102f0b248828b5d63c0aa24/django/contrib/auth/views.py#L48-L56),
with the exception of the overridable `success_url_allowed_hosts` - I'm
not sure how we could do that here (except for adding to
`success_url_allowed_hosts` to `AdminSite`).
--
Ticket URL: <https://code.djangoproject.com/ticket/36717#comment:3>
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 visit
https://groups.google.com/d/msgid/django-updates/0107019a6dbcbf79-c875a152-8260-4a4c-ab00-6061b2307c4a-000000%40eu-central-1.amazonses.com.