From 1f0d137985dc7f416d207c9503ddcd1cbaae7ff5 Mon Sep 17 00:00:00 2001 From: Leif Johansson Date: Tue, 17 Jan 2012 10:57:00 +0100 Subject: another _acc_for_user --- src/meetingtools/apps/auth/views.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/meetingtools/apps') diff --git a/src/meetingtools/apps/auth/views.py b/src/meetingtools/apps/auth/views.py index c0adfc2..8da9a31 100644 --- a/src/meetingtools/apps/auth/views.py +++ b/src/meetingtools/apps/auth/views.py @@ -69,7 +69,7 @@ def join_group(group,**kwargs): def leave_group(group,**kwargs): user = kwargs['user'] - acc = _acc_for_user(user) + acc = acc_for_user(user) connect_api = ac_api(acc) principal = connect_api.find_principal("login", user.username, "user") @@ -122,7 +122,7 @@ def accounts_login_federated(request): #profile.lastupdated = datetime.datetime.now() profile.save() - acc = _acc_for_user(request.user) + acc = acc_for_user(request.user) connect_api = ac_api_client(request, acc) # make sure the principal is created before shooting off principal = connect_api.find_or_create_principal("login", request.user.username, "user", -- cgit v1.1