X-Git-Url: http://git.cascardo.info/?p=cascardo%2Fipsilon.git;a=blobdiff_plain;f=ipsilon%2Flogin%2Fauthkrb.py;h=af659e76acc404bd77eada6a7a6aadcb38166b62;hp=71329139062377b5b94c9af03da6723f41c8ebe6;hb=f47a95ba1df58ccf9784c47beeaa0702c469b3e1;hpb=c911c46edffa30445f0d11636e575a7574d965c4 diff --git a/ipsilon/login/authkrb.py b/ipsilon/login/authkrb.py index 7132913..af659e7 100755 --- a/ipsilon/login/authkrb.py +++ b/ipsilon/login/authkrb.py @@ -52,7 +52,7 @@ class KrbError(LoginPageBase): # If we have no negotiate header return whatever mod_auth_kerb # generated and wait for the next request - if not 'WWW-Authenticate' in cherrypy.request.headers: + if 'WWW-Authenticate' not in cherrypy.request.headers: cherrypy.response.status = 401 if self.lm.next_login: