Skip to content

Unexpected Logout #443

Answered by aminalaee
Sepehrworklife asked this question in Q&A
Mar 9, 2023 · 2 comments · 7 replies
Discussion options

You must be logged in to vote

Hey,
I doubt it has anything to do with time, the SessionMiddleware used by default should be valid for two weeks.

Can you post the flow example of the request?
You are trying to access something like /admin/users and you are redirected to login page?
I think the 302 is when token" in request. session is False, so you are redirected to the login, but it's not clear why it's happening.

Replies: 2 comments 7 replies

Comment options

You must be logged in to vote
7 replies
@Sepehrworklife
Comment options

@aminalaee
Comment options

@Sepehrworklife
Comment options

@aminalaee
Comment options

@Sepehrworklife
Comment options

Answer selected by Sepehrworklife
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants