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

[Feature]: 10分钟邮箱 || [Feature]: 10 minutes email #2079

Closed
felixesintot opened this issue Sep 2, 2023 · 1 comment
Closed

[Feature]: 10分钟邮箱 || [Feature]: 10 minutes email #2079

felixesintot opened this issue Sep 2, 2023 · 1 comment
Labels
contribution welcome Contribution about current issue is welcomed discussion Question or dicussion enhancement New feature or request

Comments

@felixesintot
Copy link

felixesintot commented Sep 2, 2023

功能概述 | Describe the feature

建议添加只能用qq.com与163.com结尾的邮箱注册的功能以防止10分钟邮箱。

同时,建议支持删除与封禁用户,被删除的可再次用相同邮箱登录,被封禁的不行。


Feature Overview | Describe the feature

It is recommended to add the function that only the emails ending in qq.com and 163.com can be registered to prevent 10-minute emails.

At the same time, it is recommended to support deleting and banning users. Deleted users can log in with the same email address again, and banned users cannot.

@felixesintot felixesintot added discussion Question or dicussion enhancement New feature or request labels Sep 2, 2023
@github-actions github-actions bot changed the title [Feature]: 10分钟邮箱 [Feature]: 10分钟邮箱 || [Feature]: 10 minutes email Sep 2, 2023
@lizheming
Copy link
Collaborator

lizheming commented Sep 2, 2023

邮件校验,这个可以自己写插件支持,在中间件中判断是 POST /user 的请求的时候,增加邮箱校验的逻辑。


Mail verification, this can be supported by writing a plug-in by yourself. When the middleware judges that it is a POST /user request, add the logic of mailbox verification.

@lizheming lizheming added the contribution welcome Contribution about current issue is welcomed label Sep 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contribution welcome Contribution about current issue is welcomed discussion Question or dicussion enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants