[login form] Fix BaseLogForm.form_action()
authorChristophe de Vienne <cdevienne@gmail.com>
Mon, 28 Apr 2014 12:41:41 +0200
changeset 9709 d60dc7e03a45
parent 9708 b36bc18f6ef7
child 9710 dff4bda87c6a
[login form] Fix BaseLogForm.form_action() The method implementation was calling super() with the wrong class
web/views/basetemplates.py
--- a/web/views/basetemplates.py	Mon Apr 28 11:20:26 2014 +0200
+++ b/web/views/basetemplates.py	Mon Apr 28 12:41:41 2014 +0200
@@ -474,7 +474,7 @@
             if target and target != '/':
                 url_args['postlogin_path'] = target
             return self._cw.build_url('login', __secure__=True, **url_args)
-        return super(LogForm, self).form_action()
+        return super(BaseLogForm, self).form_action()
 
 class LogForm(BaseLogForm):
     """Simple login form that send username and password