summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLeif Johansson <leifj@sunet.se>2011-05-10 12:24:27 +0200
committerLeif Johansson <leifj@sunet.se>2011-05-10 12:24:27 +0200
commit991f1525a044291dcd032207825d96de35ad3272 (patch)
treef66976b89b757d8b34784ef676bc0bfbe77c4104 /src
parente5ec70c54ce20f65877840b7277b8d8a0b0532f5 (diff)
sessions
Diffstat (limited to 'src')
-rw-r--r--src/meetingtools/apps/auth/views.py1
-rw-r--r--src/meetingtools/apps/room/views.py1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/meetingtools/apps/auth/views.py b/src/meetingtools/apps/auth/views.py
index 7b2e0b8..31159aa 100644
--- a/src/meetingtools/apps/auth/views.py
+++ b/src/meetingtools/apps/auth/views.py
@@ -133,6 +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("++++++++++ %s" % request.session.session_key)
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 aa22899..7465ef6 100644
--- a/src/meetingtools/apps/room/views.py
+++ b/src/meetingtools/apps/room/views.py
@@ -342,6 +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)
if key:
user_client = ACPClient(room.acc.api_url, request.user.username, key, cache=False)