Ignore:
Timestamp:
29 Dec 2006, 22:05:53 (18 years ago)
Author:
joachim
Message:

ask for email and password

File:
1 edited

Legend:

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

    r1096 r1151  
    3737        students = context.portal_url.getPortalObject().campus.students
    3838        student = getattr(students,str(member))
    39         student_app = getattr(student,'application')
     39        if request.has_key('email'):
     40            context.waeup_tool.makeStudentData(str(member),email=request.get("email"))
     41        student_app = getattr(student,'application',None)
     42        if student_app is None:
     43            context.waeup_tool.makeStudentData(str(member))
     44        student_app = getattr(student,'application',None)
    4045        student_pume = getattr(student,'pume',None)
    4146        s_review_state = wftool.getInfoFor(student,'review_state',None)
Note: See TracChangeset for help on using the changeset viewer.