Skip to content

Commit

Permalink
Require old password on change password endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
michalmasrna1 committed Nov 11, 2023
1 parent 6704cf3 commit a13010a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion webstrom/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,8 @@
REST_AUTH = {
'LOGIN_SERIALIZER': 'user.serializers.LoginSerializer',
'USER_DETAILS_SERIALIZER': 'user.serializers.UserDetailsSerializer',
'REGISTER_SERIALIZER': 'user.serializers.RegisterSerializer'
'REGISTER_SERIALIZER': 'user.serializers.RegisterSerializer',
'OLD_PASSWORD_FIELD_ENABLED': True,
}


Expand Down

0 comments on commit a13010a

Please sign in to comment.