Verified Commit d7e4b1e4 authored by Sébastiaan Versteeg's avatar Sébastiaan Versteeg
Browse files

Fix mailinglist apihash

parent 5f4560b3
......@@ -15,5 +15,5 @@ class MailingListPermission(permissions.BasePermission):
if 'secret' in request.GET:
apihash = hashlib.sha1(request.GET['secret']
.encode('utf-8')).hexdigest()
return apihash == '356a192b7913b04c54574d18c28d46e6395428ab'
return apihash == 'cb004452d9c80e295bebfc778871b3b082d70ad8'
return False
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