Ignore:
Timestamp:
14 Jul 2021, 06:40:53 (3 years ago)
Author:
Henrik Bettermann
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/mandates/mandate.py

    r16059 r16550  
    2222import hashlib
    2323import os
     24from urllib import urlencode
    2425from datetime import datetime, timedelta
    2526from grok import index
     
    7677                    'Login with your new password.')
    7778            username = IUserAccount(self.params['user']).name
     79            password = self.params['password']
    7880            grok.getSite().logger.info(
    7981                'PasswordMandate used: %s ' % username)
    80             redirect_path = '/login'
     82            args = {'login':username, 'password':password}
     83            redirect_path = '/login?%s' % urlencode(args)
    8184        del self.__parent__[self.mandate_id]
    8285        return msg, redirect_path
Note: See TracChangeset for help on using the changeset viewer.