diff options
Diffstat (limited to 'meetingtools')
-rw-r--r-- | meetingtools/urls.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meetingtools/urls.py b/meetingtools/urls.py index 7aacc1c..7a4ffb2 100644 --- a/meetingtools/urls.py +++ b/meetingtools/urls.py @@ -8,7 +8,7 @@ from meetingtools.apps.room.feeds import RoomAtomTagFeed,RoomRSSTagField,\ admin.autodiscover() def welcome(request): - if request.is_authenticated(): + if request.user.is_authenticated(): return redirect_to('/rooms') else: return redirect_to('/accounts/login') |