Permalink
Browse files

Fixed bug with digest authentication on POST request

  • Loading branch information...
1 parent 7f79d8d commit e040adbbb2a9a73ef565d3a4c6dcba8e1b681b32 @zen4ever committed Mar 3, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 authdigest.py
View
@@ -107,7 +107,7 @@ def isAuthenticated(self, request, **kw):
hashPass = self[authorization.username]
if hashPass is None:
return authResult.deny('unknown_user')
- elif not self.alg.verify(authorization, hashPass, **kw):
+ elif not self.alg.verify(authorization, hashPass, method=request.method, **kw):
return authResult.deny('invalid_password')
else:
return authResult.approve('success')

0 comments on commit e040adb

Please sign in to comment.