Wednesday, May 2, 2018

Re: django admin and logout

Hi,

It really depends on your definition of "no activity".

By default login is tied to session which expiracy you can set (default 2 weeks).

Session expiry is by default only updated when session is changed, so for example pure reads that don't touch session do not count as activity. This can be changed so that every request touches session.

HTH.

On Wed, May 2, 2018 at 7:38 PM, Hervé Edorh <senobogos@gmail.com> wrote:
It is possible to make django admin application to logout after 5 minutes of no activity? Thank you

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/1b1bc621-e252-49a7-810d-3b894ad4a19f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Jani Tiainen

- Well planned is half done, and a half done has been sufficient before...

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAHn91of-U9-9LWHCUhPx4W%3DaqOKfx%3DSUT-q_YoUT9QU8Rt_vjw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment