diff options
Diffstat (limited to 'src/meetingtools')
-rw-r--r-- | src/meetingtools/apps/auth/views.py | 3 | ||||
-rw-r--r-- | src/meetingtools/apps/room/views.py | 3 |
2 files changed, 2 insertions, 4 deletions
diff --git a/src/meetingtools/apps/auth/views.py b/src/meetingtools/apps/auth/views.py index 6b7e43d..f565509 100644 --- a/src/meetingtools/apps/auth/views.py +++ b/src/meetingtools/apps/auth/views.py @@ -133,8 +133,7 @@ def accounts_login_federated(request): # make sure the principal is created before shooting off key = _random_key() request.session['ac_key'] = key - logging.debug("key %s" % request.session['ac_key']) - logging.debug("++++++++++ %s" % request.session.session_key) + #request.session.save() principal = connect_api.find_or_create_principal("login", request.user.username, "user", {'type': "user", 'has-children': "0", diff --git a/src/meetingtools/apps/room/views.py b/src/meetingtools/apps/room/views.py index 7465ef6..81ce1dc 100644 --- a/src/meetingtools/apps/room/views.py +++ b/src/meetingtools/apps/room/views.py @@ -342,8 +342,7 @@ def goto(request,room): r = api.request('sco-info',{'sco-id':room.sco_id}) urlpath = r.et.findtext('.//sco/url-path') - logging.debug("++++++++++ %s" % request.session.session_key) - key = request.session.get('acp_key',None) + key = request.session.get('ac_key',None) if key: user_client = ACPClient(room.acc.api_url, request.user.username, key, cache=False) return user_client.redirect_to(room.acc.url+urlpath) |