出了些问题,也许这个邮箱已经被注册了,请尝试使用“忘记密码”链接

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.