summaryrefslogtreecommitdiff
path: root/cherrypy/lib/cptools.py
diff options
context:
space:
mode:
Diffstat (limited to 'cherrypy/lib/cptools.py')
-rw-r--r--cherrypy/lib/cptools.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/cherrypy/lib/cptools.py b/cherrypy/lib/cptools.py
index 66c9c1b8..1ab70ef4 100644
--- a/cherrypy/lib/cptools.py
+++ b/cherrypy/lib/cptools.py
@@ -382,7 +382,8 @@ Message: %(error_msg)s
if self.debug:
cherrypy.log('routing %r to login_screen' %
path, 'TOOLS.SESSAUTH')
- return self.login_screen(**request.params)
+ response.body = self.login_screen()
+ return True
elif path.endswith('do_login'):
if request.method != 'POST':
response.headers['Allow'] = "POST"