mirror of
https://github.com/stashapp/stash.git
synced 2025-12-18 21:04:37 +03:00
Add IP address to login errors (#5760)
This commit is contained in:
committed by
GitHub
parent
2ec264ed62
commit
e9a67eb51f
@@ -81,7 +81,7 @@ func handleLoginPost() http.HandlerFunc {
|
||||
err := manager.GetInstance().SessionStore.Login(w, r)
|
||||
if err != nil {
|
||||
// always log the error
|
||||
logger.Errorf("Error logging in: %v", err)
|
||||
logger.Errorf("Error logging in: %v from IP: %s", err, r.RemoteAddr)
|
||||
}
|
||||
|
||||
var invalidCredentialsError *session.InvalidCredentialsError
|
||||
|
||||
Reference in New Issue
Block a user