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
Updated by The Foreman Bot over 7 years ago
- Status changed from Assigned to Ready For Testing
- Pull request https://github.com/theforeman/hammer-cli-foreman/pull/323 added
Updated by Marek Hulán over 7 years ago
- Target version changed from 1.18.0-RC2 to 214
Updated by Anonymous over 7 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset hammer-cli-foreman|12facbf630ecb5804848c26b6efe374916c6ae08.
Actions