Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lockdown session key #20

Open
jacbrixey opened this issue Aug 12, 2023 · 1 comment
Open

lockdown session key #20

jacbrixey opened this issue Aug 12, 2023 · 1 comment

Comments

@jacbrixey
Copy link

Hello! I'm confused how to change LOCKDOWN_SESSION_KEY, what should the value be if I don't want this to be allowed?

@Dunedan
Copy link
Owner

Dunedan commented Sep 3, 2023

LOCKDOWN_SESSION_KEY is only relevant when using LockdownMiddleware to lock down an entire site. It ensures users encounter the form for entering the password only once and not for every page they're requesting. This works by persisting the provided password in a session variable whose name can be configured with LOCKDOWN_SESSION_KEY. There is no way right now to disable this feature, as there hasn't been a good use case for that situation so far. What's the use case you have in mind?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants