- Timestamp:
- 14 Jul 2021, 06:40:53 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
main/waeup.kofa/trunk/src/waeup/kofa/mandates/mandate.py
r16059 r16550 22 22 import hashlib 23 23 import os 24 from urllib import urlencode 24 25 from datetime import datetime, timedelta 25 26 from grok import index … … 76 77 'Login with your new password.') 77 78 username = IUserAccount(self.params['user']).name 79 password = self.params['password'] 78 80 grok.getSite().logger.info( 79 81 'PasswordMandate used: %s ' % username) 80 redirect_path = '/login' 82 args = {'login':username, 'password':password} 83 redirect_path = '/login?%s' % urlencode(args) 81 84 del self.__parent__[self.mandate_id] 82 85 return msg, redirect_path
Note: See TracChangeset for help on using the changeset viewer.