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

« back to all changes in this revision

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

  • Committer: David Coles
  • Date: 2009-07-30 07:46:28 UTC
  • Revision ID: coles.david@gmail.com-20090730074628-9lm1hyjmobpvwhy3
Fix the console input UI so that it displays propperly regardless of window width
 by laying it out with 'display: table'. Also fixed file browser spacing since
console overlapped the status bar.

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.store,
 
104
                        user = authenticate.authenticate(req.config, 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.store, user)
 
130
                        ivle.pulldown_subj.enrol_user(req.config, req.store, user)
131
131
                        req.store.commit()
132
132
 
133
133
                        req.throw_redirect(nexturl)