Si è verificato un errore, forse questa email è già registrata, prova il link "password dimenticata"

Users cannot register new accounts in my forum.

After filling out the signup form and clicking “Create your account”, the modal dialog gets a red header bar with the message

Something went wrong, perhaps this email is already registered, try the forgot password link

This happens with any mail address. I have no blocked email domains.

The browser’s network log shows a request to https://example.com/u receiving a 400 error and the response {"errors":["param is missing or the value is empty: email"]}

https://example.com/logs/ shows nothing remotely related I think, maybe some Job exception: Net::SMTPServerBusy errors from 3 hours ago.

5 Mi Piace

I can reproduce as well.

There is a regression in this PR from yesterday.


The issue is here:

In performAccountCreation(), attrs for name, email, and username contain properties name with model. and is passed to User.createAccount(attrs).

However, createAccount is not expecting that, resulting in empty data.

6 Mi Piace

Sorry about that! Will be fixed shortly: FIX: Account creation regression by CvX · Pull Request #24169 · discourse/discourse · GitHub

8 Mi Piace

Thanks, upgrading fixed it.

3 Mi Piace

Just for reference, Jarek fixed it heren thanks! :+1:

1 Mi Piace

This topic was automatically closed after 23 hours. New replies are no longer allowed.