diff options
author | Leif Johansson <leifj@sunet.se> | 2010-12-10 22:12:09 +0100 |
---|---|---|
committer | Leif Johansson <leifj@sunet.se> | 2010-12-10 22:12:09 +0100 |
commit | 085400aecacdf9e80fb4156c57f6e0fa0c32e7f3 (patch) | |
tree | 125482f07031e28ffc9b1b573f7bab0e47c5ba98 /coip/apps/auth | |
parent | b36eeabe895351fb799cc6521a37e5b9f23812e1 (diff) |
oops
Diffstat (limited to 'coip/apps/auth')
-rw-r--r-- | coip/apps/auth/views.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/coip/apps/auth/views.py b/coip/apps/auth/views.py index 1582a5e..29d8e02 100644 --- a/coip/apps/auth/views.py +++ b/coip/apps/auth/views.py @@ -17,7 +17,7 @@ def meta(request,attr): def accounts_login_federated(request): if request.user.is_authenticated(): - profile = UserProfile.objects.get_or_create(identifier=request.user.username) + profile,created = UserProfile.objects.get_or_create(identifier=request.user.username) if profile.user: request.user = profile.user else: |