Ignore:
Timestamp:
9 Jul 2007, 17:11:39 (17 years ago)
Author:
Henrik Bettermann
Message:

problem with wrong batch number fixed

Now we need a fix to replace the application PINs in all application objects.

File:
1 edited

Legend:

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

    r1867 r2002  
    6565                                 ds = ds,
    6666                                 )
    67 ## 
     67##
    6868##    email = ds.get('app_email')
    6969    student = getattr(context.campus.students, s_id)
     
    7272        url = "%s/campus/students/%s/pume/admission_rejected_view" % (context.portal_url(),s_id)
    7373        return redirect(url)
    74     pin = str(ds.get('app_ac_pin_n'))
     74    pw = str(ds.get('app_ac_pin_n'))
    7575    args = {}
    7676    args['__ac_name'] = s_id
    7777    #args['__ac_password'] = pin.split('-')[2]
    78     args['__ac_password'] = pin
    79     args['pin'] = pin
     78    args['__ac_password'] = pw
     79    args['pin'] = str(ds.get('app_ac_pin_p')) + '-' + str(ds.get('app_ac_pin_b')) + '-' + str(ds.get('app_ac_pin_n'))
    8080##    args['email'] = email
    8181    url = "%s/logged_in?%s" % (context.absolute_url(),urlencode(args))
Note: See TracChangeset for help on using the changeset viewer.