Project

General

Profile

Actions

Bug #20131

closed

Unsuccessful `hammer auth login` takes down existing session

Added by Tomáš Strachota almost 7 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Category:
Hammer core
Difficulty:
Triaged:
Team Backlog:
Fixed in Releases:
Found in Releases:
In Kanboard:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1465552

Description of problem:

Unsuccessful `hammer auth login` takes down existing session.

Steps to Reproduce:
1. authenticate e.g. as admin

~]# hammer auth status
Session exist, currently logged in as 'admin'

2. run `hammer auth login` with invalid credentials

~]# hammer auth login
[Foreman] Username: jjj
[Foreman] Password for jjj: 
Invalid username or password

3. the admin session is terminated

~]# hammer auth status
You are currently not logged in

Expected results:

Session perisists, cli notifies user that the credentials were invalid and the user is still logged in as 'admin'.


Related issues 1 (0 open1 closed)

Related to Hammer CLI - Bug #20315: Stored credentials should be mutually exclusive with auth sessionsClosedTomáš Strachota07/17/2017Actions
Actions #1

Updated by Tomáš Strachota almost 7 years ago

  • Subject changed from Unsuccessful `hammer auth login` takes down existing session to Unsuccessful `hammer auth login` takes down existing session
  • Category changed from Other commands to Hammer core
  • Target version set to 115
Actions #2

Updated by Tomáš Strachota almost 7 years ago

  • Status changed from New to Assigned
  • Assignee set to Tomáš Strachota
Actions #3

Updated by Tomáš Strachota almost 7 years ago

  • Target version changed from 115 to 1.14.3
Actions #4

Updated by Marek Hulán over 6 years ago

  • Target version changed from 1.14.3 to 1.17.0-RC2
Actions #5

Updated by Marek Hulán over 6 years ago

  • Related to Bug #20315: Stored credentials should be mutually exclusive with auth sessions added
Actions #6

Updated by Tomáš Strachota over 6 years ago

  • Status changed from Assigned to Closed
  • translation missing: en.field_release set to 243
Actions

Also available in: Atom PDF