diff options
author | Leif Johansson <leifj@sunet.se> | 2012-01-17 10:57:00 +0100 |
---|---|---|
committer | Leif Johansson <leifj@sunet.se> | 2012-01-17 10:57:00 +0100 |
commit | 1f0d137985dc7f416d207c9503ddcd1cbaae7ff5 (patch) | |
tree | 4472c5e8891c2f181dde9ca4a94ac0ebf0fdbc5b /src/meetingtools/apps | |
parent | 0d96da51b4c7843b384f4d199cfeda097de9b552 (diff) |
another _acc_for_user
Diffstat (limited to 'src/meetingtools/apps')
-rw-r--r-- | src/meetingtools/apps/auth/views.py | 4 |
1 files changed, 2 insertions, 2 deletions
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", |