Ignore:
Timestamp:
6 Sep 2007, 20:25:03 (17 years ago)
Author:
Henrik Bettermann
Message:

add only upper-case reg numbers to portal_pins table

see inline comments and also
comment 09/06/07 16:40:52 in ticket #328

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_student/apply_pume.py

    r2182 r2184  
    6464        if object['status'] and 'submitted' in object['status']:
    6565            submitted = True
     66       
    6667        if not (create or slip) and (pin != object['pin'] and not context.isSectionOfficer()):
    6768            logger.info('%s/%s entered wrong pin %s' % (member,reg_no,pin))
    6869            return request.RESPONSE.redirect("%s/srp_anonymous_view" % context.portal_url())
     70
     71       
     72        # For the next PUME application session it should be reverted to
     73        # (see comment 09/06/07 16:40:52 in ticket #328):
     74
     75        #if not create and (pin != object['pin'] and not context.isSectionOfficer()):
     76            #logger.info('%s/%s entered wrong pin %s' % (member,reg_no,pin))
     77            #return request.RESPONSE.redirect("%s/srp_anonymous_view" % context.portal_url())       
     78
    6979if slip:
    7080    mode = "view_slip"
Note: See TracChangeset for help on using the changeset viewer.