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
This commit is contained in:
@@ -222,7 +222,7 @@ from .forms import (DestinataerForm, DestinataerNotizForm,
|
|||||||
FoerderungForm, LandForm, PaechterForm, PersonForm,
|
FoerderungForm, LandForm, PaechterForm, PersonForm,
|
||||||
UnterstuetzungForm, UnterstuetzungMarkAsPaidForm, VierteljahresNachweisForm)
|
UnterstuetzungForm, UnterstuetzungMarkAsPaidForm, VierteljahresNachweisForm)
|
||||||
|
|
||||||
|
@login_required
|
||||||
def home(request):
|
def home(request):
|
||||||
"""Home page for the Stiftungsverwaltung application"""
|
"""Home page for the Stiftungsverwaltung application"""
|
||||||
from stiftung.services.calendar_service import StiftungsKalenderService
|
from stiftung.services.calendar_service import StiftungsKalenderService
|
||||||
|
|||||||
Reference in New Issue
Block a user