From 00d461942843c0fdd7b21bc17b4bb8759680a2fb Mon Sep 17 00:00:00 2001 From: Laurent Date: Tue, 25 Mar 2025 13:50:38 +0100 Subject: [PATCH] revert fix --- authentication/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/authentication/views.py b/authentication/views.py index 0bc6974..4fcf9db 100644 --- a/authentication/views.py +++ b/authentication/views.py @@ -18,7 +18,7 @@ from .models import Device, LoginLog from .serializers import ChangePasswordSerializer -CustomUser=get_user_model() +CustomUser=settings.AUTH_USER_MODEL @method_decorator(csrf_exempt, name='dispatch') class CustomAuthToken(APIView):