Changeset 5045
- Timestamp:
- 10 Mar 2010, 08:48:18 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_student/change_password.py
r3273 r5045 61 61 old_password = request.get('widget__old_password') 62 62 if not wt.checkPassword(student_id,old_password): 63 psm = "Old Password is not correct"63 psm = "Old password is not correct!" 64 64 return context.change_password_form(rendered = res, 65 65 psm = psm, … … 71 71 #set_trace() 72 72 password = request.get('widget__password') 73 if not len(password): 74 psm = "Please enter a new password!" 75 return context.change_password_form(rendered = res, 76 psm = psm, 77 ds = ds, 78 mode = "edit", 79 formaction = "change_password", 80 button = "Change Password", 81 ) 82 73 83 wt.editPassword(student_id,password) 74 84 logger.info('%s changed password from %s to %s' % (member_id,old_password,password))
Note: See TracChangeset for help on using the changeset viewer.