Commit 17bb1d69 authored by Sébastiaan Versteeg's avatar Sébastiaan Versteeg
Browse files

Merge branch '708-location-map-at-events-broken' into 'master'

Resolve "Location Map at Events broken"

Closes #708

See merge request thalia/concrexit!961
parents 7b416607 d04ea4c3
......@@ -10,7 +10,7 @@ from django.utils.translation import ugettext_lazy as _, get_language
from events import emails
from events.exceptions import RegistrationError
from events.models import Registration, RegistrationInformationField
from thaliawebsite.settings import settings
from django.conf import settings
def is_user_registered(member, event):
......@@ -247,7 +247,6 @@ def create_google_maps_url(event):
f"key={ settings.GOOGLE_MAPS_API_KEY }")
decoded_key = urlsafe_b64decode(settings.GOOGLE_MAPS_API_SECRET)
print(type(decoded_key))
signature = hmac.new(decoded_key, maps_url.encode(), sha1)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment