Changeset 1215 for WAeUP_SRP/trunk/skins


Ignore:
Timestamp:
6 Jan 2007, 17:33:41 (18 years ago)
Author:
joachim
Message:

login if repeatedly tried to set pw

Location:
WAeUP_SRP/trunk/skins
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_custom/logged_in.py

    r1174 r1215  
    3737        students = context.portal_url.getPortalObject().campus.students
    3838        student = getattr(students,str(member))
    39         if request.has_key('email'):
     39        if request.has_key('returning'):
     40            email=request.get("email")
     41            phone=request.get("phone_nr")
    4042            context.waeup_tool.makeStudentData(str(member),
    41                                                email=request.get("email"),
    42                                                phone_nr=request.get("phone_nr"),
     43                                               email=email,
     44                                               phone_nr=phone,
    4345                                               )
     46            d = {}
     47            d['id'] = str(member)
     48            d['email'] = email
     49            d['phone'] = phone
     50            context.students_catalog.modifyRecord(**d)
    4451        student_app = getattr(student,'application',None)
    4552        if student_app is None:
  • WAeUP_SRP/trunk/skins/waeup_student/set_access_data.py

    r1207 r1215  
    5151        psm = ''
    5252    except KeyError:
    53         psm = "You are already registered please log in with your UserId %s" % sid
     53        #psm = "You are already registered please log in with your UserId %s" % sid
     54        psm = ""
    5455        logger.info('"%s","repeatedly tried to set password"' % sid)
    5556if psm != '':
Note: See TracChangeset for help on using the changeset viewer.