「何か問題が発生しました。このメールアドレスは既に登録されている可能性があります。パスワードをお忘れの方はこちらのリンクをお試しください」

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

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

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

「いいね!」 8

Thanks, upgrading fixed it.

「いいね!」 3

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

「いいね!」 1

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