Changeset 1202 for WAeUP_SRP/trunk
- Timestamp:
- 5 Jan 2007, 11:24:00 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
WAeUP_SRP/trunk/skins/waeup_student/set_access_data.py
r1179 r1202 43 43 psm = "You did not check the ackkowledge box!" 44 44 else: 45 psm = '' 45 try: 46 password = REQUEST.get('widget__password') 47 context.waeup_tool.makeStudentMember(sid,password=password) 48 psm = '' 49 except KeyError: 50 psm = "You are already registered please log in with your UserId %s" % sid 51 logger.info('"%s","repeatedly tried to set password"' % sid) 46 52 if psm != '': 47 53 return context.set_access_data_form(rendered = res, … … 53 59 name = "%(name)s" % REQUEST.form 54 60 ) 55 password = REQUEST.get('widget__password')56 61 email = ds.get('email') 57 context.waeup_tool.makeStudentMember(sid,password=password)58 62 args = {} 59 63 args['__ac_name'] = sid
Note: See TracChangeset for help on using the changeset viewer.