~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to ivle/webapp/security/views.py

  • Committer: William Grant
  • Date: 2009-05-11 04:51:08 UTC
  • mto: (1165.3.65 submissions-admin)
  • mto: This revision was merged to the branch mainline in revision 1247.
  • Revision ID: grantw@unimelb.edu.au-20090511045108-z70ij6oti5cazyo4
Add an ivle-refreshfilesystem script, which currently just rewrites svn(-group).conf.

Show diffs side-by-side

added added

removed removed

Lines of Context:
101
101
                else:
102
102
                    user = None
103
103
                    try:
104
 
                        user = authenticate.authenticate(req.config, req.store,
 
104
                        user = authenticate.authenticate(req.store,
105
105
                                    username.value, password.value)
106
106
                    except AuthError, msg:
107
107
                        badlogin = msg
127
127
                                          plugin.cookies[cookie](user), path='/'))
128
128
 
129
129
                        # Add any new enrolments.
130
 
                        ivle.pulldown_subj.enrol_user(req.config, req.store, user)
 
130
                        ivle.pulldown_subj.enrol_user(req.store, user)
131
131
                        req.store.commit()
132
132
 
133
133
                        req.throw_redirect(nexturl)