Changeset 990 for WAeUP_SRP/trunk/skins
- Timestamp:
- 5 Dec 2006, 12:08:24 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_custom/logged_in.py
r979 r990 45 45 member = mtool.getAuthenticatedMember() 46 46 47 if not redirect_url or redirect_url.endswith('/logged_out'):47 if True or not redirect_url or redirect_url.endswith('/logged_out'): 48 48 if not is_anon: 49 49 if "Student" in member.getRoles(): … … 60 60 da = {} 61 61 pin = request.get('pin') 62 if not pin: 63 jamb_reg_no = info['app_doc'].jamb_reg_no 64 res = context.portal_pins(student=jamb_reg_no) 65 if len(res) == 1: 66 p = res[0].pin 67 pin = "%s-%s-%s" % (p[:3],p[3:4],p[4:]) 62 68 ## email = request.get('email') 63 69 app_doc = info['app_doc']
Note: See TracChangeset for help on using the changeset viewer.