From 612f1aab91571034f14969b3c7c7b3e7711d109c Mon Sep 17 00:00:00 2001 From: SKairinos Date: Mon, 18 Sep 2023 12:55:57 +0100 Subject: [PATCH] fix: authentication backends paths --- codeforlife/settings/django.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/codeforlife/settings/django.py b/codeforlife/settings/django.py index 7e880dd..41afc47 100644 --- a/codeforlife/settings/django.py +++ b/codeforlife/settings/django.py @@ -17,9 +17,9 @@ # https://docs.djangoproject.com/en/3.2/ref/settings/#authentication-backends AUTHENTICATION_BACKENDS = [ - "user.auth_backends.EmailAndPasswordBackend", - "user.auth_backends.UserIdAndLoginIdBackend", - "user.auth_backends.UsernameAndPasswordAndClassIdBackend", + "codeforlife.user.auth_backends.EmailAndPasswordBackend", + "codeforlife.user.auth_backends.UserIdAndLoginIdBackend", + "codeforlife.user.auth_backends.UsernameAndPasswordAndClassIdBackend", ] # Sessions