[web/views] don't force http redirect on logout
We no longer forbid anonymous browsing on https, so we can keep the same
scheme when logged out. Closes #5507479.
--- a/web/views/basecontrollers.py Tue Jun 16 00:26:55 2015 +0200
+++ b/web/views/basecontrollers.py Mon Jun 22 11:28:16 2015 +0200
@@ -110,10 +110,7 @@
# anonymous connection is allowed and the page will be displayed or
# we'll be redirected to the login form
msg = self._cw._('you have been logged out')
- # force base_url so on dual http/https configuration, we generate a URL
- # on the http version of the site
- return self._cw.build_url('view', vid='loggedout',
- base_url=self._cw.vreg.config['base-url'])
+ return self._cw.build_url('view', vid='loggedout')
class ViewController(Controller):