ft_transcendence/srcs/accounts/serializers/change_password.py
2023-11-23 16:43:30 +01:00

7 lines
178 B
Python

from rest_framework.serializers import Serializer, CharField
class ChangePasswordSerializer(Serializer):
current_password = CharField()
new_password = CharField()