etwist/server.py
branchstable
changeset 8149 3ed48646f354
parent 7879 9aae456abab5
child 8272 18893bb969d2
child 8341 af813e7d5daa
--- a/etwist/server.py	Tue Jan 03 17:00:43 2012 +0100
+++ b/etwist/server.py	Tue Jan 03 17:59:31 2012 +0100
@@ -340,7 +340,7 @@
             self.appli.connect(req)
         except Redirect, ex:
             return self.redirect(request=req, location=ex.location)
-        if https and req.session.anonymous_session:
+        if https and req.session.anonymous_session and self.config['https-deny-anonymous']:
             # don't allow anonymous on https connection
             return self.request_auth(request=req)
         if self.url_rewriter is not None: