Merge "Fix incorrect kwarg in auth middleware example"

This commit is contained in:
Jenkins 2015-12-18 22:04:46 +00:00 committed by Gerrit Code Review
commit dafeea6322

View File

@ -375,7 +375,7 @@ folks a start on their own code if they want to use repoze.what::
expiration = float(resp.getheader('x-auth-ttl')) expiration = float(resp.getheader('x-auth-ttl'))
user = resp.getheader('x-auth-user') user = resp.getheader('x-auth-user')
memcache_client.set(key, (time(), expiration, user), memcache_client.set(key, (time(), expiration, user),
timeout=expiration) time=expiration)
return user return user
return None return None