# HG changeset patch # User Sylvain Thénault # Date 1268161067 -3600 # Node ID e69b2f2f2d610afb1e4c06a25e510397a079ffad # Parent b06d2a3b27d92868e6d6d4214ac145110685c87f when some authentication plugin fail, we may try another one diff -r b06d2a3b27d9 -r e69b2f2f2d61 web/views/authentication.py --- 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: