Remove debug print.

This commit is contained in:
Arik Fraimovich
2014-01-31 16:11:27 +02:00
parent ddf3959d4d
commit c36b90db0f

View File

@@ -27,8 +27,6 @@ class HMACAuthentication(object):
h = hmac.new(str(query.api_key), msg=request.path, digestmod=hashlib.sha1)
h.update(str(expires))
print h.hexdigest()
if query.api_key and signature == h.hexdigest():
return fn(*args, **kwargs)
@@ -42,6 +40,7 @@ class HMACAuthentication(object):
return decorated
def setup_authentication(app):
openid_auth = GoogleFederated(settings.GOOGLE_APPS_DOMAIN, app)
app.wsgi_app = ProxyFix(app.wsgi_app)