From b9544048e6778291e399b18a1a4b2a4a0cedba64 Mon Sep 17 00:00:00 2001 From: Stiftung Development Date: Sat, 11 Oct 2025 18:11:43 +0200 Subject: [PATCH] Security: Require authentication for home page view - Add @login_required decorator to home view function - Ensures all views now require user authentication - Prevents unauthorized access to homepage and dashboard - Part of comprehensive authentication security implementation --- app/stiftung/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/stiftung/views.py b/app/stiftung/views.py index 4f90f5c..f11e923 100644 --- a/app/stiftung/views.py +++ b/app/stiftung/views.py @@ -222,7 +222,7 @@ from .forms import (DestinataerForm, DestinataerNotizForm, FoerderungForm, LandForm, PaechterForm, PersonForm, UnterstuetzungForm, UnterstuetzungMarkAsPaidForm, VierteljahresNachweisForm) - +@login_required def home(request): """Home page for the Stiftungsverwaltung application""" from stiftung.services.calendar_service import StiftungsKalenderService