mirror of
https://github.com/getredash/redash.git
synced 2025-12-25 01:03:20 -05:00
Remove debug print.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user