Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Self registration broken #1888

Open
MrTango opened this issue Mar 13, 2025 · 1 comment
Open

Self registration broken #1888

MrTango opened this issue Mar 13, 2025 · 1 comment

Comments

@MrTango
Copy link
Contributor

MrTango commented Mar 13, 2025

If i enable self registration in Plone and try to use the /register form to register a user, it only works when I'm already logged-in. For anonymous users, an error occurs:

https://localhost:8080/Plone/++api++/@users
[HTTP/3 400  271ms]

error    Object { message: "Error in fields. Property 'Eine Bestätigungs-E-Mail versenden mit einem Link, um das Passwort zu setzen.' is not allowed.", type: "WrongParameterError", errors: […] }
errors    [ {…} ]
0    Object { field: "sendPasswordReset", message: "Property 'Eine Bestätigungs-E-Mail versenden mit einem Link, um das Passwort zu setzen.' is not allowed." }
field    "sendPasswordReset"
message    "Property 'Eine Bestätigungs-E-Mail versenden mit einem Link, um das Passwort zu setzen.' is not allowed."
message    "Error in fields. Property 'Eine Bestätigungs-E-Mail versenden mit einem Link, um das Passwort zu setzen.' is not allowed."
type    "WrongParameterError"

in my opinion, we have to also allow sending sendPasswordReset when self registration is enabled:

        if security.enable_self_reg:
            allowed.append("sendPasswordReset")
@MrTango
Copy link
Contributor Author

MrTango commented Mar 13, 2025

Volto is currently always sending sendPasswordReset = true, this is why self registration is not working at all at the moment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant