mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-04 05:29:17 +02:00
See #187: API logic for password reset
This commit is contained in:
parent
929b50183a
commit
22f0b1a2d8
4 changed files with 41 additions and 7 deletions
|
@ -391,6 +391,11 @@ REST_FRAMEWORK = {
|
|||
'django_filters.rest_framework.DjangoFilterBackend',
|
||||
)
|
||||
}
|
||||
REST_AUTH_SERIALIZERS = {
|
||||
'PASSWORD_RESET_SERIALIZER': 'funkwhale_api.users.serializers.PasswordResetSerializer' # noqa
|
||||
}
|
||||
REST_SESSION_LOGIN = False
|
||||
REST_USE_JWT = True
|
||||
|
||||
ATOMIC_REQUESTS = False
|
||||
USE_X_FORWARDED_HOST = True
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue