Ignore:
Timestamp:
6 Jan 2007, 17:33:41 (18 years ago)
Author:
joachim
Message:

login if repeatedly tried to set pw

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_custom/logged_in.py

    r1174 r1215  
    3737        students = context.portal_url.getPortalObject().campus.students
    3838        student = getattr(students,str(member))
    39         if request.has_key('email'):
     39        if request.has_key('returning'):
     40            email=request.get("email")
     41            phone=request.get("phone_nr")
    4042            context.waeup_tool.makeStudentData(str(member),
    41                                                email=request.get("email"),
    42                                                phone_nr=request.get("phone_nr"),
     43                                               email=email,
     44                                               phone_nr=phone,
    4345                                               )
     46            d = {}
     47            d['id'] = str(member)
     48            d['email'] = email
     49            d['phone'] = phone
     50            context.students_catalog.modifyRecord(**d)
    4451        student_app = getattr(student,'application',None)
    4552        if student_app is None:
Note: See TracChangeset for help on using the changeset viewer.