mkhorasani / Streamlit-Authenticator

A secure authentication module to manage user access in a Streamlit application.
Other
1.67k stars 260 forks source link

login_attempts Logic error,LoginError Never triggered #237

Open Euraxluo opened 1 month ago

Euraxluo commented 1 month ago

Logic error, when the login fails, only the number of failed times is recorded

LoginError('Maximum number of login attempts exceeded') Will never be triggered

mkhorasani commented 1 month ago

Apologies for the confusion, but you will only see the Maximum number of login attempts exceeded when you eventually enter the correct username and password. I will try to change this feature, to make it display the message even before the correct password is entered.