X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=auth%2Fviews.py;h=2a9ff8361c46e06ced238f91630e7b530227833d;hb=7002ccffe21d8f40bc0ad363c775dc9cdac7635b;hp=c26bc1d06b728ae9fb801922d21549cdd4e8fa7c;hpb=96a59721af48d73df6e504807378c52fa1750743;p=myslice.git diff --git a/auth/views.py b/auth/views.py index c26bc1d0..2a9ff836 100644 --- a/auth/views.py +++ b/auth/views.py @@ -44,7 +44,7 @@ def login_user(request): # hard question : where should we redirect requests to logout if user is not logged in ? def logout_user (request): - # xxx check that we're indeed logged in + # check that we're indeed logged in if not request.user.is_authenticated(): return HttpResponseRedirect ('/') logout(request)