diff options
author | cce <devnull@localhost> | 2007-01-10 15:38:44 +0000 |
---|---|---|
committer | cce <devnull@localhost> | 2007-01-10 15:38:44 +0000 |
commit | 8575b7cae8b55ce98ad91b027f697718f5ce1c51 (patch) | |
tree | f1acd623fb5923386d23cba964971c2b3ebc40dd /paste/auth | |
parent | fdd30923863d98eb3cde70b0ec4094a49cf56057 (diff) | |
download | paste-8575b7cae8b55ce98ad91b027f697718f5ce1c51.tar.gz |
fixing server side cache /w the nocache header
Diffstat (limited to 'paste/auth')
-rw-r--r-- | paste/auth/digest.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/paste/auth/digest.py b/paste/auth/digest.py index 229a03d..81a11f3 100644 --- a/paste/auth/digest.py +++ b/paste/auth/digest.py @@ -114,6 +114,8 @@ class AuthDigestAuthenticator(object): except: return self.build_authentication() ha1 = self.authfunc(environ, realm, username) + if ha1 is None: + return self.build_authentication() return self.compute(ha1, username, response, method, authpath, nonce, nc, cnonce, qop) |