From 7025f3791d379f5bdf10c479ec54ae7f010e6d29 Mon Sep 17 00:00:00 2001 From: Leif Johansson Date: Tue, 10 May 2011 12:50:37 +0200 Subject: test if there are stupid password size limits --- src/meetingtools/apps/auth/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/meetingtools') 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", -- cgit v1.1