Changeset 2603
- Timestamp:
- 9 Nov 2007, 08:14:57 (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/base/Widgets.py
r2597 r2603 1215 1215 datastructure.setError(widget_id, 'PIN neither checked nor used.') 1216 1216 s_logger.info('%s/%s entered wrong data together with PIN %s' % (s_id,ref,pin_str)) 1217 if prefix == 'APP' and not self.reuse_pin:1218 res = self.applicants_catalog(reg_no = ref)1219 if res and res[0].pin == pin_str:1220 do = 01221 err = 'Application PINs cannot be reused!'1222 s_logger.info('%s entered same PIN as for screening application %s' % (s_id,pin_str))1217 elif prefix == 'APP' and not self.reuse_pin: 1218 res = self.applicants_catalog(reg_no = ref) 1219 if res and res[0].pin == pin_str: 1220 do = 0 1221 err = 'Application PINs cannot be reused!' 1222 s_logger.info('%s entered same PIN as for screening application %s' % (s_id,pin_str)) 1223 1223 1224 1224 while do:
Note: See TracChangeset for help on using the changeset viewer.