Commit d91055a0 authored by Joost Rijneveld's avatar Joost Rijneveld
Browse files

Merge branch 'hotfix/mailinglist-key' into 'master'

Fix mailinglist apihash

See merge request !567
parents b6402af4 d7e4b1e4
......@@ -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