Fix cookie configuration and update destinataer workflow
- Fixed empty cookie name issue in production by improving fallback logic - Changed 'Neue Förderung' to 'Neue Unterstützung' in destinataer detail page - Updated icon from fa-gift to fa-heart for better UX - Workflow now correctly uses unterstuetzung_create with destinataer pre-population Resolves CookieError: Illegal key '' in production environment
This commit is contained in:
@@ -121,8 +121,8 @@ GRAMPS_USERNAME = os.environ.get("GRAMPS_USERNAME", "")
|
||||
GRAMPS_PASSWORD = os.environ.get("GRAMPS_PASSWORD", "")
|
||||
|
||||
# Session Configuration
|
||||
SESSION_COOKIE_NAME = os.environ.get("SESSION_COOKIE_NAME", "stiftung_sessionid")
|
||||
CSRF_COOKIE_NAME = os.environ.get("CSRF_COOKIE_NAME", "stiftung_csrftoken")
|
||||
SESSION_COOKIE_NAME = os.environ.get("SESSION_COOKIE_NAME") or "stiftung_sessionid"
|
||||
CSRF_COOKIE_NAME = os.environ.get("CSRF_COOKIE_NAME") or "stiftung_csrftoken"
|
||||
|
||||
# HTTPS Security Settings (production)
|
||||
if not DEBUG:
|
||||
|
||||
Reference in New Issue
Block a user