diff options
author | Leif Johansson <leifj@sunet.se> | 2011-05-10 12:50:37 +0200 |
---|---|---|
committer | Leif Johansson <leifj@sunet.se> | 2011-05-10 12:50:37 +0200 |
commit | 7025f3791d379f5bdf10c479ec54ae7f010e6d29 (patch) | |
tree | 24833a4fde32c81df65743e6ccc6290333ae1f94 /src/meetingtools | |
parent | 0457102e0ad40c41e910ab4b66d0ba8e36e9797e (diff) |
test if there are stupid password size limits
Diffstat (limited to 'src/meetingtools')
-rw-r--r-- | src/meetingtools/apps/auth/views.py | 2 |
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", |