Skip to content

Commit

Permalink
note to self.
Browse files Browse the repository at this point in the history
  • Loading branch information
pudo committed Sep 13, 2011
1 parent fa19007 commit f5c9487
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions webstore/swauth.py
Expand Up @@ -26,6 +26,7 @@

def sw_auth(request):
""" Authenticate an incoming request. """
# TODO: make sure this only happens from internal services!
current_app.sw_scrapername = request.headers.get('X-Scrapername')

def sw_has(user, database, action):
Expand Down

0 comments on commit f5c9487

Please sign in to comment.