summaryrefslogtreecommitdiff
path: root/src/meetingtools
diff options
context:
space:
mode:
authorLeif Johansson <leifj@sunet.se>2011-05-10 12:50:37 +0200
committerLeif Johansson <leifj@sunet.se>2011-05-10 12:50:37 +0200
commit7025f3791d379f5bdf10c479ec54ae7f010e6d29 (patch)
tree24833a4fde32c81df65743e6ccc6290333ae1f94 /src/meetingtools
parent0457102e0ad40c41e910ab4b66d0ba8e36e9797e (diff)
test if there are stupid password size limits
Diffstat (limited to 'src/meetingtools')
-rw-r--r--src/meetingtools/apps/auth/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/meetingtools/apps/auth/views.py b/src/meetingtools/apps/auth/views.py
index f565509..0c46338 100644
--- a/src/meetingtools/apps/auth/views.py
+++ b/src/meetingtools/apps/auth/views.py
@@ -131,7 +131,7 @@ def accounts_login_federated(request):
acc = _acc_for_user(request.user)
connect_api = ac_api_client(request, acc)
# make sure the principal is created before shooting off
- key = _random_key()
+ key = _random_key(10)
request.session['ac_key'] = key
#request.session.save()
principal = connect_api.find_or_create_principal("login", request.user.username, "user",