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

Prevent login brute-force using reCAPTCHA #224

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open

Conversation

samjo-nyang
Copy link
Member

No description provided.

pipoket and others added 6 commits September 28, 2018 17:18
Whenever there is a failed login attempt, the attempt is logged to this
table. The table is used to (1) detect malicious users who try to attack
the system with bruteforce login attack and (2) prevent such users from
attacking the system in such manner.
- /account/login/ logs whenever there is a failed login attempt
- /account/login/ checks whether there are more than five failed login
  attempts based on the ip address of user. If there are, it sets the
  flag for showing recaptcha to true
- *_RECAPTCHA_SITEKEY has been added to make it possible for developer to
  test Recaptcha on their own test environment
- Signup form uses 'Invisible' Recaptcha while login form requires
  'Normal' Recaptcha. Configurations for both Recaptcha API keys has
  been applied to Django settings.
@samjo-nyang samjo-nyang self-assigned this Sep 29, 2018
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.

2 participants