From ca8f55f4e4ae9e4f377cffb0cba14d93784ef547 Mon Sep 17 00:00:00 2001 From: Patrick Date: Tue, 15 Dec 2020 21:15:17 +0000 Subject: [PATCH] change redirect to login --- fet2020/authentications/decorators.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fet2020/authentications/decorators.py b/fet2020/authentications/decorators.py index 812721fd..8059b93e 100644 --- a/fet2020/authentications/decorators.py +++ b/fet2020/authentications/decorators.py @@ -16,7 +16,7 @@ def authenticated_user(view_func): if request.user.is_authenticated: return view_func(request, *args, **kwargs) else: - return redirect('home') + return redirect('login') return wrapper_func