Ignore:
Timestamp:
30 Jun 2012, 07:39:07 (12 years ago)
Author:
Henrik Bettermann
Message:

Store user in mandate. This makes everything much easier.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/waeup.kofa/trunk/src/waeup/kofa/students/browser.py

    r8857 r8858  
    19891989        mandate = PasswordMandate()
    19901990        mandate.params['password'] = password
    1991         mandate.params['student_id'] = student.student_id
    1992         mandate.params['user_type'] = 'student'
     1991        mandate.params['user'] = student
    19931992        site = grok.getSite()
    19941993        site['mandates'].addMandate(mandate)
Note: See TracChangeset for help on using the changeset viewer.