Commit 3e2beb0f authored by Joost Rijneveld's avatar Joost Rijneveld
Browse files

Merge branch 'hotfix/mailinglist-key' into 'release/1.10'

Fix mailinglist apihash

See merge request !566
parents 7c498da3 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