#25075: Change is_authenticated() that depended on is_active
-------------------------------+--------------------------------------
Reporter: djbaldey | Owner: nobody
Type: Uncategorized | Status: new
Component: contrib.auth | Version: 1.8
Severity: Normal | Resolution:
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 1 | UI/UX: 0
-------------------------------+--------------------------------------
Comment (by djbaldey):
This has always been so in earlier versions. If the user is working with
the site, then he has session_key. In that moment, when switched off it
administrator (is_active=False), it will continue to have access to views
under the decorator `login_required` until continues the action
session_key.
I'm not sure that this behavior will not resume in new versions or in a
custom User model or in different from default session backends.
If I'm wrong, let's close the ticket.
--
Ticket URL: <https://code.djangoproject.com/ticket/25075#comment:2>
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/066.c70cb60c9c10db72c2349a665db62485%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.