Issue #780 resolved

session_auth fails when request.params is not empty

guest
created an issue

tools.session_auth will throw an error whenever a previous tool or the dispatcher adds an entry to request.params. In particular, this happens when using the RoutesDispatcher, but could also happen with anything that modifies request.params before session_auth.

{{{ File "/usr/lib/python2.5/site-packages/cherrypy/lib/cptools.py", line 269, in run return self.do_login(**request.params) TypeError: do_login() got an unexpected keyword argument 'test' }}}