Actions
Bug #20575
closedHammer prints wrong error when there's unauthorized request at the beginning of a sessions
Status:
Closed
Priority:
Normal
Assignee:
Category:
Hammer core
Target version:
Difficulty:
Triaged:
Bugzilla link:
Team Backlog:
Description
When a user is logged out, tries to start a new sessions and enters wrong credentials, hammer prints an error message as if there was an existing session.
Reproducer steps:- Enable sessions in the config file for hammer
- hammer auth logout
- hammer -u admin -p wrong_pwd host list
Actual result:
Hammer prints:
Invalid username or password, continuing with session for ''
Expected result:
Invalid username or password
Actions