From 18797857edbac3b899af4b97a53a2119636c6b6f Mon Sep 17 00:00:00 2001 From: BeritJanssen Date: Thu, 21 Sep 2023 15:29:01 +0200 Subject: [PATCH] Revert "fix user serialization test locally" This reverts commit ec6b8ec96c79f0471201d161e2f7ff788ed2eaa1. --- backend/ianalyzer/common_settings.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backend/ianalyzer/common_settings.py b/backend/ianalyzer/common_settings.py index 88dcc405a..986a11b91 100644 --- a/backend/ianalyzer/common_settings.py +++ b/backend/ianalyzer/common_settings.py @@ -125,9 +125,9 @@ ACCOUNT_EMAIL_REQUIRED = True AUTH_USER_MODEL = 'users.CustomUser' -REST_AUTH = { +REST_AUTH_SERIALIZERS = { 'USER_DETAILS_SERIALIZER': 'users.serializers.CustomUserDetailsSerializer', - 'REGISTER_SERIALIZER': 'users.serializers.CustomRegistrationSerializer', + 'REGISTER_SERIALIZER': 'users.serializers.CustomRegisterSerializer', } LOGO_LINK = 'https://dhstatic.hum.uu.nl/logo-cdh/png/UU_CDH_logo_EN_whiteFC.png'