SLATER
SLATER

Reputation: 673

Django session: disconnect when user is inactive

is there a simple way to disconnect a user that is inactive for 3 minutes for example?

I have develop an authentification app following a tutorial (https://simpleisbetterthancomplex.com/) https://www.youtube.com/watch?v=60GTvKCuam8&list=PLLxk3TkuAYnryu1lEcFaBr358IynT7l7H

I use 'from django.contrib.auth import views'

so I did not have write the login/logout/... views and have the default authentification behavior

here I need to customize the behavior so I suppose I need to override the logout view? How can I do that?

Upvotes: 0

Views: 303

Answers (0)

Related Questions