From 352a03eb4c2ba09f1f0f92efc160405c8e714ef9 Mon Sep 17 00:00:00 2001 From: Leif Johansson Date: Tue, 10 May 2011 12:29:53 +0200 Subject: sessions --- src/meetingtools/apps/auth/views.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/meetingtools/apps/auth/views.py b/src/meetingtools/apps/auth/views.py index 31159aa..6b7e43d 100644 --- a/src/meetingtools/apps/auth/views.py +++ b/src/meetingtools/apps/auth/views.py @@ -101,7 +101,7 @@ def accounts_login_federated(request): cn = meta1(request,'cn') if not cn: cn = meta1(request,'displayName') - logging.warn(cn) + logging.debug("cn=%s" % cn) if not cn and fn and ln: cn = "%s %s" % (fn,ln) if not cn: @@ -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("key %s" % request.session['ac_key']) logging.debug("++++++++++ %s" % request.session.session_key) principal = connect_api.find_or_create_principal("login", request.user.username, "user", {'type': "user", -- cgit v1.1