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

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 Likes

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 Likes

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

8 Likes

Thanks, upgrading fixed it.

3 Likes

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

1 Like

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