[web auth] remove assertion, we may want to remove authentication info retreivers to disallow login from the web ui stable
authorSylvain Thénault <sylvain.thenault@logilab.fr>
Tue, 27 Apr 2010 14:19:20 +0200
branchstable
changeset 5417 55ff79dad1a6
parent 5416 cd95e4660864
child 5418 4f0047cfecb5
[web auth] remove assertion, we may want to remove authentication info retreivers to disallow login from the web ui
web/views/authentication.py
--- a/web/views/authentication.py	Tue Apr 27 11:25:40 2010 +0200
+++ b/web/views/authentication.py	Tue Apr 27 14:19:20 2010 +0200
@@ -58,7 +58,6 @@
         self.log_queries = vreg.config['query-log-file']
         self.authinforetreivers = sorted(vreg['webauth'].possible_objects(vreg),
                                     key=lambda x: x.order)
-        assert self.authinforetreivers
         self.anoninfo = vreg.config.anonymous_user()
 
     def validate_session(self, req, session):