mirror of
https://github.com/lemeow125/EquipmentTracker-Backend.git
synced 2024-11-17 06:09:26 +08:00
updated reset password url
This commit is contained in:
parent
70a596c63e
commit
8cb45d4e50
1 changed files with 1 additions and 0 deletions
|
@ -162,6 +162,7 @@ AUTH_USER_MODEL = 'accounts.CustomUser'
|
||||||
DJOSER = {
|
DJOSER = {
|
||||||
'SEND_ACTIVATION_EMAIL': True,
|
'SEND_ACTIVATION_EMAIL': True,
|
||||||
'SEND_CONFIRMATION_EMAIL': True,
|
'SEND_CONFIRMATION_EMAIL': True,
|
||||||
|
'PASSWORD_RESET_CONFIRM_URL': 'reset_password_confirm/{uid}/{token}',
|
||||||
'ACTIVATION_URL': 'activation/{uid}/{token}',
|
'ACTIVATION_URL': 'activation/{uid}/{token}',
|
||||||
'USER_AUTHENTICATION_RULES': ['djoser.authentication.TokenAuthenticationRule'],
|
'USER_AUTHENTICATION_RULES': ['djoser.authentication.TokenAuthenticationRule'],
|
||||||
'SERIALIZERS': {
|
'SERIALIZERS': {
|
||||||
|
|
Loading…
Reference in a new issue