BAN_VIOLATIONS=false doesnt have any effect #3914
Replies: 4 comments 3 replies
-
This is not the result of a ban, it's the result of the login limiter, which is configurable, as well. More info: https://www.librechat.ai/docs/configuration/mod_system |
Beta Was this translation helpful? Give feedback.
-
Can you help which configuration it is that i should change? I dnt want to remove loginlimiter.. BAN_VIOLATIONS=false LOGIN_VIOLATION_SCORE=1 LOGIN_MAX=7 LIMIT_CONCURRENT_MESSAGES=true LIMIT_MESSAGE_IP=true LIMIT_MESSAGE_USER=false ILLEGAL_MODEL_REQ_SCORE=5 #========================# Balance#========================# CHECK_BALANCE=false |
Beta Was this translation helpful? Give feedback.
-
Though i agree with you.. it is like making LOGIN_VIOLATION_SCORE = 0? |
Beta Was this translation helpful? Give feedback.
-
@danny-avila Thanks in advance. |
Beta Was this translation helpful? Give feedback.
-
What happened?
I am trying the variable BAN_VIOLATIONS=false and it still pronts too many login attempts.
Is this expected as what ever we add true or false it just works as if its true.
As per doc :
BAN_VIOLATIONS | boolean | Whether or not to enable banning users for violations (they will still be logged).
Steps to Reproduce
.env file add BAN_VIOLATIONS=true - exceed max login attempts it shows {"message":"Too many login attempts, please try again after 2 minutes."}
.env file add BAN_VIOLATIONS=false - exceed max login attempts it shows {"message":"Too many login attempts, please try again after 2 minutes."}
What browsers are you seeing the problem on?
Chrome, Safari
Relevant log output
No response
Screenshots
No response
Code of Conduct
Beta Was this translation helpful? Give feedback.
All reactions