web/views/authentication.py
changeset 6418 948a9f8514b2
parent 6391 e330ead0804b
child 6435 71b2a3fe7ba1
--- 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]