# HG changeset patch # User Aurelien Campeas # Date 1286531657 -7200 # Node ID 948a9f8514b2f3263f44d7538e5f642819e83457 # Parent d2361abe85053450196326f4662b74f54bf60bf9 [views/authentication] fix http auth regression (no message) diff -r d2361abe8505 -r 948a9f8514b2 web/views/authentication.py --- a/web/views/authentication.py Fri Oct 08 11:11:31 2010 +0200 +++ b/web/views/authentication.py Fri Oct 08 11:54:17 2010 +0200 @@ -79,7 +79,7 @@ return login, {'password': password} def request_has_auth_info(self, req): - return '__login' in req.form + return req.get_authorization()[0] is not None def revalidate_login(self, req): return req.get_authorization()[0]