Ignore:
Timestamp:
14 Sep 2006, 08:02:57 (18 years ago)
Author:
joachim
Message:

=make login work

File:
1 edited

Legend:

Unmodified
Added
Removed
  • WAeUP_SRP/trunk/skins/waeup_default/process_waeup_login.py

    r519 r521  
    1414        return
    1515member_id = str(member)
     16member.setProperties(last_login_time=current,login_time=current)
    1617student = getattr(context.students,member_id)
    1718application = student.application
    18 student.content_status_modify(workflow_action="enter_application_pin")
     19if context.portal_workflow.getInfoFor(student,
     20                                   'review_state',
     21                                   None) == "created":
     22    student.content_status_modify(workflow_action="enter_application_pin")
    1923da = {}
    2024pin = request.get('pin')
Note: See TracChangeset for help on using the changeset viewer.