equal
deleted
inserted
replaced
472 target = self._cw.form.get('postlogin_path', |
472 target = self._cw.form.get('postlogin_path', |
473 self._cw.relative_path()) |
473 self._cw.relative_path()) |
474 url_args = {} |
474 url_args = {} |
475 if target and target != '/': |
475 if target and target != '/': |
476 url_args['postlogin_path'] = target |
476 url_args['postlogin_path'] = target |
477 return self._cw.build_url('login', __secure__=True, **url_args) |
477 return self._cw.build_url('login', **url_args) |
478 return super(BaseLogForm, self).form_action() |
478 return super(BaseLogForm, self).form_action() |
479 |
479 |
480 |
480 |
481 class LogForm(BaseLogForm): |
481 class LogForm(BaseLogForm): |
482 """Simple login form that send username and password |
482 """Simple login form that send username and password |