Feature description: While logging into Artifactory in case of incorrect username/ password or locked user the error is very generic “Login has failed. Due to Incorrect username/password or locked user.” for the end-user it is difficult to identify the cause of login failure.
Expected behavior: Incase of Incorrect username/password or locked user an email shall be sent to the user to notify if the login is denied due to an incorrect password or user being locked.
**
Steps to reproduce: First enable user locking in Artifactory from Admin -> Security -> Settings -> Lock User After Exceeding Max Failed Login Attempts. Login into Artifactory with incorrect username/password and then try incorrect logins so the user gets locked in both cases we see the error “Login has failed. Due to Incorrect username/password or locked user.”