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

cleanup inactivated users?! Or resent activation email again? #31

Open
zhouhao opened this issue Jul 28, 2018 · 2 comments
Open

cleanup inactivated users?! Or resent activation email again? #31

zhouhao opened this issue Jul 28, 2018 · 2 comments
Labels
debate enhancement New feature or request

Comments

@zhouhao
Copy link
Owner

zhouhao commented Jul 28, 2018

目前我们每12个小时候就会清理72小时之前创建的token(见数据库)。其中有一部分是用于账户激活的。
如果用户在token被清理之前没有成功激活,他的账号可能永远也激活不了。

相应的方案有:

  1. 在清理token的同时把用户也清了?
  2. 用户可以重新出发激活邮件的发送 <-- 我个人倾向于这个
@zhouhao zhouhao added enhancement New feature or request debate labels Jul 28, 2018
@wdzhong
Copy link
Collaborator

wdzhong commented Jul 28, 2018

在未激活用户尝试的时候,提示重新发送激活邮件?数据库是怎么连接的,我还没看懂。。

@zhouhao
Copy link
Owner Author

zhouhao commented Jul 30, 2018

好问题,因为用了spring security,导致好多过程被自动隐藏了。🤦🏼

@zhouhao zhouhao changed the title cleanup inactivated users?! cleanup inactivated users?! Or resent activation email again? Jul 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
debate enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants