- Timestamp:
- 6 Mar 2008, 06:56:32 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/base/skins/waeup_student/change_password.py
r2942 r3273 72 72 password = request.get('widget__password') 73 73 wt.editPassword(student_id,password) 74 logger.info('%s changed password from %s to %s' % (member_id,old_password,password)) 75 76 if context.isStaff(): 77 return 'Password changed!' 78 74 79 args = {} 75 80 args['__ac_name'] = student_id 76 81 args['__ac_password'] = password 77 logger.info('%s changed password from %s to %s' % (member_id,old_password,password)) 82 78 83 from urllib import urlencode 79 84 url = "%s/logged_in?%s" % (context.absolute_url(),urlencode(args))
Note: See TracChangeset for help on using the changeset viewer.