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

privilege: support login fail count and account blacklist #4

Merged
merged 3 commits into from
May 9, 2020

Conversation

imtbkcat
Copy link
Collaborator

@imtbkcat imtbkcat commented May 7, 2020

What problem does this PR solve?

添加登陆失败次数限制,一个账号登陆失败10次后锁定一小时。
失败次数限制和锁定时间受global variable控制

使用文档:https://docs.google.com/document/d/1WOIHg8ucWK4PQKhcIDaki5DoWEopy-uL0V9IYnXup7A/edit#

@imtbkcat
Copy link
Collaborator Author

imtbkcat commented May 7, 2020

PTAL @bb7133

@imtbkcat imtbkcat merged commit 0db9f6e into bb7133:4.0-itai May 9, 2020
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

Successfully merging this pull request may close these issues.

1 participant