Skip to content

Commit

Permalink
Merge 1acec99 into 05280ef
Browse files Browse the repository at this point in the history
  • Loading branch information
lubomir committed Nov 13, 2015
2 parents 05280ef + 1acec99 commit e1ae642
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pdc/apps/auth/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,7 @@ def logout(request):
auth_logout(request)

if backend:
if 'logout_url' in backend:
redirect_to = backend.logout_url + redirect_to
redirect_to = getattr(backend, 'logout_url', '') + redirect_to

return HttpResponseRedirect(redirect_to)

Expand Down

0 comments on commit e1ae642

Please sign in to comment.