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

开启Email邮箱认证,注册的时候会抛504 #234

Open
Manlinup opened this issue Jul 10, 2023 · 0 comments
Open

开启Email邮箱认证,注册的时候会抛504 #234

Manlinup opened this issue Jul 10, 2023 · 0 comments

Comments

@Manlinup
Copy link

  - ACCOUNT_EMAIL_VERIFICATION=optional 
  - EMAIL_HOST=smtp.exmail.qq.com
  - EMAIL_PORT=465
  - EMAIL_HOST_USER=xx
  - EMAIL_HOST_PASSWORD=xx
  - EMAIL_USE_TLS=true
  - EMAIL_FROM=xx

第一次注册的时候,会抛504。
再点一次的时候,会报错{
"username": [
"A user with that username already exists."
],
"email": [
"A user is already registered with this e-mail address."
]
}

这个接口返回的错误能不能优化显示抛出来,
【Something went wrong. Please try again.】 现在无论什么错误都提示这个,不好引导

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