#30154: i18n: redirects to default login page if LOGIN_URL = 'login' not
specified
-------------------------------------+-------------------------------------
Reporter: ohlr | Owner: nobody
Type: Bug | Status: new
Component: | Version: 2.1
Internationalization |
Severity: Normal | Keywords: i18n LOGIN_URL
Triage Stage: | Has patch: 0
Unreviewed |
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------+-------------------------------------
Hi,
**Setup**: a multilanguage page that uses django.contrib.auth.
**Bug**: A request to a view that is only visible for authorized.users is
redirected to the default login page and not the language specific login
page. Unless LOGIN_URL is specified in settings.py.
**Example**:
**Wrong behavior**: request /de/accounts/password_change/ ->
/accounts/login/?next=/de/accounts/password_change/
**Correct behavior** (if LOGIN_URL is set): request
/de/accounts/password_change/ ->
/de/accounts/login/?next=/de/accounts/password_change/
--
Ticket URL: <https://code.djangoproject.com/ticket/30154>
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 post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/047.54f3e85c157a9e79d40dd54e215f5c98%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.