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

Failed login attempts logs #2995

Closed
techc0de opened this issue Nov 30, 2016 · 1 comment
Closed

Failed login attempts logs #2995

techc0de opened this issue Nov 30, 2016 · 1 comment
Milestone

Comments

@techc0de
Copy link

Hello,

According to the documentation,

the software is designed in such a way to prevent brute forcing the password, with IP addresses and usernames locked out for 10 minutes after a specified number of login attempts.

I tried with four incorrect attempts, but I don't see the site banned me or email me.
My email has been setup, and my web server is running with SSL.

I would like to know where can I change this number of failed attempts and lockout duration.
Thanks.

@snipe
Copy link
Owner

snipe commented Dec 1, 2016

This should be fixed on the develop branch now. You'll need to pul down the latest develop branch and then add the following section to your .env file (obviously changing the values to whatever you'd like them to be):

# --------------------------------------------
# OPTIONAL: LOGIN THROTTLING
# --------------------------------------------
LOGIN_MAX_ATTEMPTS=10
LOGIN_LOCKOUT_DURATION=60

Can you let me know if that works for you?

@snipe snipe closed this as completed Dec 1, 2016
@snipe snipe added this to the v3.6.1 milestone Dec 4, 2016
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

No branches or pull requests

2 participants