AI security fixes

This commit is contained in:
2026-04-08 21:23:12 +02:00
parent 2beb7aa75a
commit 149a488795
9 changed files with 279 additions and 17 deletions

View File

@@ -1,3 +1,5 @@
import os
from django.contrib.auth.decorators import login_required
from django.shortcuts import render
@@ -10,7 +12,9 @@ from eventplanner.snippets import (
@login_required
def home_view(request):
context = {}
context = {
"GOOGLE_MAPS_API_KEY": os.environ.get("GOOGLE_MAPS_API_KEY", ""),
}
# Event participation for slider text
if EventParticipation.isMember(request.user):