diff options
author | Leif Johansson <leifj@sunet.se> | 2011-05-10 12:29:53 +0200 |
---|---|---|
committer | Leif Johansson <leifj@sunet.se> | 2011-05-10 12:29:53 +0200 |
commit | 352a03eb4c2ba09f1f0f92efc160405c8e714ef9 (patch) | |
tree | 0691571f1048d4604a93ce9d5e32a1010dcede2a | |
parent | 991f1525a044291dcd032207825d96de35ad3272 (diff) |
sessions
-rw-r--r-- | src/meetingtools/apps/auth/views.py | 3 |
1 files changed, 2 insertions, 1 deletions
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", |