web/views/basetemplates.py
changeset 9709 d60dc7e03a45
parent 9378 4a668dcfa0a0
child 9778 23bad0114b84
equal deleted inserted replaced
9708:b36bc18f6ef7 9709:d60dc7e03a45
   472                                        self._cw.relative_path())
   472                                        self._cw.relative_path())
   473             url_args = {}
   473             url_args = {}
   474             if target and target != '/':
   474             if target and target != '/':
   475                 url_args['postlogin_path'] = target
   475                 url_args['postlogin_path'] = target
   476             return self._cw.build_url('login', __secure__=True, **url_args)
   476             return self._cw.build_url('login', __secure__=True, **url_args)
   477         return super(LogForm, self).form_action()
   477         return super(BaseLogForm, self).form_action()
   478 
   478 
   479 class LogForm(BaseLogForm):
   479 class LogForm(BaseLogForm):
   480     """Simple login form that send username and password
   480     """Simple login form that send username and password
   481     """
   481     """
   482     __regid__ = 'logform'
   482     __regid__ = 'logform'