Changeset 75 for waeup_product/trunk/skins
- Timestamp:
- 21 Oct 2005, 13:15:56 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
waeup_product/trunk/skins/waeup_student/process_waeup_login.py
r57 r75 9 9 10 10 if request.form.get('submit') == 'Login': 11 waeup = context.portal_catalog(id = 'waeup')[0].getObject() 12 students = waeup.students 11 13 if "Students" in member.getGroups(): 12 ca = context.portal_catalog(id =str(member))14 ca = getattr(students,str(member)) 13 15 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()) 17 19 18 20 member_id = str(member)
Note: See TracChangeset for help on using the changeset viewer.