Skip to content

Prevent login brute-force using reCAPTCHA#224

Open
samjo-nyang wants to merge 6 commits into
masterfrom
issue/202
Open

Prevent login brute-force using reCAPTCHA#224
samjo-nyang wants to merge 6 commits into
masterfrom
issue/202

Conversation

@samjo-nyang

Copy link
Copy Markdown
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