web/views/basecontrollers.py
changeset 10411 4ee15441f2eb
parent 10222 75d6096216d7
parent 10406 9c7461bf99a7
child 10666 7f6b5f023884
equal deleted inserted replaced
10410:eb681a030699 10411:4ee15441f2eb
   108         # * in http auth mode, url will be ignored
   108         # * in http auth mode, url will be ignored
   109         # * in cookie mode redirecting to the index view is enough : either
   109         # * in cookie mode redirecting to the index view is enough : either
   110         #   anonymous connection is allowed and the page will be displayed or
   110         #   anonymous connection is allowed and the page will be displayed or
   111         #   we'll be redirected to the login form
   111         #   we'll be redirected to the login form
   112         msg = self._cw._('you have been logged out')
   112         msg = self._cw._('you have been logged out')
   113         # force base_url so on dual http/https configuration, we generate a URL
   113         return self._cw.build_url('view', vid='loggedout')
   114         # on the http version of the site
       
   115         return self._cw.build_url('view', vid='loggedout',
       
   116                                   base_url=self._cw.vreg.config['base-url'])
       
   117 
   114 
   118 
   115 
   119 class ViewController(Controller):
   116 class ViewController(Controller):
   120     """standard entry point :
   117     """standard entry point :
   121     - build result set
   118     - build result set