Changeset 2710 for WAeUP_SRP/base/skins
- Timestamp:
- 19 Nov 2007, 20:29:10 (17 years ago)
- Location:
- WAeUP_SRP/base/skins
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/base/skins/cps_custom/logged_in.py
r2579 r2710 36 36 is_anon = mtool.isAnonymousUser() 37 37 member = mtool.getAuthenticatedMember() 38 39 if context.isStaff(): 40 is_unsecure = context.waeup_tool.checkGenericPassword(str(member)) 41 if is_unsecure: 42 response.expireCookie('__ac', path='/') 43 return response.redirect("%s/user_logged_in_disabled" % context.portal_url()) 44 38 45 #load_passport = hasattr(context.waeup_tool,'loadStudentFoto') 39 46 … … 151 158 if s_review_state == "student_created": 152 159 wftool.doActionFor(student,'admit') 153 s_review_state = 'admitted' 160 s_review_state = 'admitted' 154 161 155 162 if s_review_state == "admitted" and a_review_state == 'created':
Note: See TracChangeset for help on using the changeset viewer.