mirror of https://github.com/snachodog/mybuddy.git
Disable secure cookies
This feature breaks login on non-HTTPs connections. Additional work needed.
This commit is contained in:
parent
a844aa7613
commit
3f57b196b4
|
@ -241,11 +241,11 @@ if os.environ.get('SECURE_PROXY_SSL_HEADER'):
|
|||
|
||||
# https://docs.djangoproject.com/en/3.2/topics/http/sessions/#settings
|
||||
SESSION_COOKIE_HTTPONLY = True
|
||||
SESSION_COOKIE_SECURE = True
|
||||
# SESSION_COOKIE_SECURE = True
|
||||
|
||||
# https://docs.djangoproject.com/en/3.2/ref/csrf/#settings
|
||||
CSRF_COOKIE_HTTPONLY = True
|
||||
CSRF_COOKIE_SECURE = True
|
||||
# CSRF_COOKIE_SECURE = True
|
||||
|
||||
# https://docs.djangoproject.com/en/3.2/topics/auth/passwords/
|
||||
AUTH_PASSWORD_VALIDATORS = [
|
||||
|
|
Loading…
Reference in New Issue