web/application.py
branchstable
changeset 4639 82afdc7d8cd8
parent 4490 d45cde54d464
child 4679 d8ad65dab3e9
equal deleted inserted replaced
4638:c7d2145abf61 4639:82afdc7d8cd8
   203         # XXX: this should be in a post login hook in the repository, but there
   203         # XXX: this should be in a post login hook in the repository, but there
   204         #      we can't differentiate actual login of automatic session
   204         #      we can't differentiate actual login of automatic session
   205         #      reopening. Is it actually a problem?
   205         #      reopening. Is it actually a problem?
   206         self._update_last_login_time(req)
   206         self._update_last_login_time(req)
   207         args = req.form
   207         args = req.form
       
   208         for forminternal_key in ('__form_id', '__domid', '__errorurl'):
       
   209             args.pop(forminternal_key, None)
   208         args['__message'] = req._('welcome %s !') % req.user.login
   210         args['__message'] = req._('welcome %s !') % req.user.login
   209         if 'vid' in req.form:
   211         if 'vid' in req.form:
   210             args['vid'] = req.form['vid']
   212             args['vid'] = req.form['vid']
   211         if 'rql' in req.form:
   213         if 'rql' in req.form:
   212             args['rql'] = req.form['rql']
   214             args['rql'] = req.form['rql']