web/views/authentication.py
branchstable
changeset 4855 e69b2f2f2d61
parent 4252 6c4f109c2b03
child 4856 c8f887a5b2fa
--- a/web/views/authentication.py	Tue Mar 09 19:57:04 2010 +0100
+++ b/web/views/authentication.py	Tue Mar 09 19:57:47 2010 +0100
@@ -114,8 +114,11 @@
                 login, authinfo = retreiver.authentication_information(req)
             except NoAuthInfo:
                 continue
-            cnx = self._authenticate(req, login, authinfo)
-            break
+            try:
+                cnx = self._authenticate(req, login, authinfo)
+                break
+            except ExplicitLogin:
+                continue # the next one may succeed
         else:
             raise ExplicitLogin()
         for retreiver_ in self.authinforetreivers: