mirror of
https://github.com/Tivix/django-rest-auth.git
synced 2024-11-22 09:06:40 +03:00
Remove redundant required=True
from serializer fields
`required=True` is default setting
This commit is contained in:
parent
f79537de77
commit
f200b8d6f0
|
@ -181,9 +181,8 @@ class PasswordResetConfirmSerializer(serializers.Serializer):
|
|||
|
||||
new_password1 = serializers.CharField(max_length=128)
|
||||
new_password2 = serializers.CharField(max_length=128)
|
||||
|
||||
uid = serializers.CharField(required=True)
|
||||
token = serializers.CharField(required=True)
|
||||
uid = serializers.CharField()
|
||||
token = serializers.CharField()
|
||||
|
||||
set_password_form_class = SetPasswordForm
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user