Skip to content

Commit

Permalink
change status code to match the one used by PlonePAS.MembershipTool.s…
Browse files Browse the repository at this point in the history
…etPassword
  • Loading branch information
tschorr committed Apr 26, 2023
1 parent ab97e43 commit 203dd2b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plone/restapi/services/users/add.py
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ def update_password(self, data):
err = registration_tool.testPasswordValidity(new_password)
if err is not None:
return self._error(
403,
400,
"Invalid password",
_(err),
)
Expand Down

0 comments on commit 203dd2b

Please sign in to comment.