Skip to content
Snippets Groups Projects
Commit ed5081ac authored by Sigurd's avatar Sigurd
Browse files

pipeline check

removing raise of error
parent c1e3ee33
No related branches found
No related tags found
No related merge requests found
Pipeline #170711 passed with stage
in 25 seconds
......@@ -36,9 +36,6 @@ class UserSerializer(serializers.HyperlinkedModelSerializer):
password = data.get("password")
password1 = data.get("password1")
if password != password1():
raise serializers.ValidationError("The passwords must match")
try:
password_validation.validate_password(password)
except forms.ValidationError as error:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment