branch | stable |
changeset 5588 | 377c9adfe81e |
parent 5584 | c1823448f81d |
child 5590 | a56eb02f9ce7 |
child 5838 | 68187d50968e |
--- a/web/views/basetemplates.py Wed May 26 12:31:40 2010 +0200 +++ b/web/views/basetemplates.py Wed May 26 12:31:43 2010 +0200 @@ -446,9 +446,10 @@ form_buttons = [fw.SubmitButton(label=_('log in'), attrs={'class': 'loginButton'})] - @property - def action(self): - return xml_escape(login_form_url(self._cw)) + def form_action(self): + if self.action is None: + return login_form_url(self._cw) + return super(LogForm, self).form_action() class LogFormView(View):