diff --git a/fet2020/authentications/decorators.py b/fet2020/authentications/decorators.py index 670430aa..f5fbeabe 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("login") + return redirect("authentications:login") return wrapper_func