Skip to content

Commit

Permalink
update to output failed pin on login if agent is invalid
Browse files Browse the repository at this point in the history
  • Loading branch information
sagostin committed Oct 4, 2024
1 parent 67e4934 commit 2220988
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions internal/auth/auth.go
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,7 @@ func (r *AgentLogin) AgentLogin(ip string, db *mongo.Database) (string, error) {
ee.Error = err
ee.Message = "error getting agent"
ee.Message += " - connecting ip: " + ip
ee.Message += " - pin: " + r.PIN
return "", ee.ToError()
}

Expand Down

0 comments on commit 2220988

Please sign in to comment.