Added user list url endpoints

This commit is contained in:
Keannu Christian Bernasol 2023-03-07 20:39:16 +08:00
parent 3205880bde
commit d2a869b685
4 changed files with 21 additions and 4 deletions

View file

@ -143,6 +143,10 @@ DJOSER = {
'SEND_ACTIVATION_EMAIL': True,
'SEND_CONFIRMATION_EMAIL': True,
'ACTIVATION_URL': 'activation/{uid}/{token}',
'PERMISSIONS': {
'user': ['rest_framework.permissions.AllowAny'],
'user_list': ['rest_framework.permissions.AllowAny'],
},
}
EMAIL_HOST = 'sandbox.smtp.mailtrap.io'