Make allauth generate https links by default
This commit is contained in:
parent
334de6509b
commit
331c85849e
@ -419,6 +419,10 @@ AUTHENTICATION_BACKENDS = [
|
|||||||
]
|
]
|
||||||
|
|
||||||
ACCOUNT_LOGOUT_ON_GET = True
|
ACCOUNT_LOGOUT_ON_GET = True
|
||||||
|
ACCOUNT_DEFAULT_HTTP_PROTOCOL = os.getenv(
|
||||||
|
"PAPERLESS_ACCOUNT_DEFAULT_HTTP_PROTOCOL",
|
||||||
|
"https",
|
||||||
|
)
|
||||||
|
|
||||||
ACCOUNT_ADAPTER = "paperless.adapter.CustomAccountAdapter"
|
ACCOUNT_ADAPTER = "paperless.adapter.CustomAccountAdapter"
|
||||||
ACCOUNT_ALLOW_SIGNUPS = __get_boolean("PAPERLESS_ACCOUNT_ALLOW_SIGNUPS")
|
ACCOUNT_ALLOW_SIGNUPS = __get_boolean("PAPERLESS_ACCOUNT_ALLOW_SIGNUPS")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user