Ignore:
Timestamp:
21 Oct 2005, 13:15:56 (19 years ago)
Author:
joachim
Message:

=university index

File:
1 edited

Legend:

Unmodified
Added
Removed
  • waeup_product/trunk/skins/waeup_student/process_waeup_login.py

    r57 r75  
    99
    1010if request.form.get('submit') == 'Login':
     11    waeup = context.portal_catalog(id = 'waeup')[0].getObject()
     12    students = waeup.students
    1113    if "Students" in member.getGroups():
    12         ca = context.portal_catalog(id = str(member))
     14        ca = getattr(students,str(member))
    1315    elif "StudentManager" in member.getGroups():
    14         ca = context.portal_catalog(id = 'students')
    15     ma = ca[0].getObject()
    16     return response.redirect(ma.absolute_url())
     16        ca = waeup.students
     17    #ma = ca[0].getObject()
     18    return response.redirect(ca.absolute_url())
    1719       
    1820member_id = str(member)
Note: See TracChangeset for help on using the changeset viewer.