mirror of
https://github.com/Tivix/django-rest-auth.git
synced 2024-11-22 17:16:34 +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_password1 = serializers.CharField(max_length=128)
|
||||||
new_password2 = serializers.CharField(max_length=128)
|
new_password2 = serializers.CharField(max_length=128)
|
||||||
|
uid = serializers.CharField()
|
||||||
uid = serializers.CharField(required=True)
|
token = serializers.CharField()
|
||||||
token = serializers.CharField(required=True)
|
|
||||||
|
|
||||||
set_password_form_class = SetPasswordForm
|
set_password_form_class = SetPasswordForm
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user