From 8cb45d4e50a4e21cba58b71d4c31f0c9a7952958 Mon Sep 17 00:00:00 2001 From: Keannu Bernasol Date: Mon, 20 Nov 2023 00:00:48 +0800 Subject: [PATCH] updated reset password url --- equipment_tracker/config/settings.py | 1 + 1 file changed, 1 insertion(+) diff --git a/equipment_tracker/config/settings.py b/equipment_tracker/config/settings.py index e1db193..339d83a 100644 --- a/equipment_tracker/config/settings.py +++ b/equipment_tracker/config/settings.py @@ -162,6 +162,7 @@ AUTH_USER_MODEL = 'accounts.CustomUser' DJOSER = { 'SEND_ACTIVATION_EMAIL': True, 'SEND_CONFIRMATION_EMAIL': True, + 'PASSWORD_RESET_CONFIRM_URL': 'reset_password_confirm/{uid}/{token}', 'ACTIVATION_URL': 'activation/{uid}/{token}', 'USER_AUTHENTICATION_RULES': ['djoser.authentication.TokenAuthenticationRule'], 'SERIALIZERS': {