From a20e14a8d38e04ba7a256918a71ef83a74de36dd Mon Sep 17 00:00:00 2001 From: Dariusz Niemczyk Date: Thu, 13 Jul 2023 21:01:41 +0200 Subject: [PATCH] Add LOGIN_URL to redirect properly --- spejstore/settings.py | 1 + 1 file changed, 1 insertion(+) diff --git a/spejstore/settings.py b/spejstore/settings.py index f0fc011..784ecdc 100644 --- a/spejstore/settings.py +++ b/spejstore/settings.py @@ -187,3 +187,4 @@ SOCIAL_AUTH_REDIRECT_IS_HTTPS = PROD SOCIAL_AUTH_JSONFIELD_ENABLED = True LABEL_API = env("LABEL_API", "http://label.waw.hackerspace.pl:4567") +LOGIN_URL = "/admin/login/"