Project

General

Profile

Actions

Bug #38037

closed

User last login time is not updated when login with external authentication

Added by Hao Yu 4 months ago. Updated about 1 month ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Users, Roles and Permissions
Target version:
-
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

Description of problem:

If Satellite is setup to use external authentication, user last login time is not updated after login to the web ui.

 

How reproducible:

Easy

 

Is this issue a regression from an earlier version:

No

 

Steps to Reproduce:

1. Setup Satellite to use IDM for external authentication.

2. Login with the external user. This should create a new user in the Satellite.

3. Check the "last login time" in Administer -> Users page.

4. Logout

5. Wait for a few minutes and login again with the same user again.

 

Actual behavior:
Last login time not updated

 

Expected behavior:
Last login time should be updated.

 

Business Impact / Additional info:{}

This bug1 has been reported previously in Satellite 6.2 and fixed in Satellite 6.3

 [1] https://bugzilla.redhat.com/show_bug.cgi?id=1460963

Later on it broke again by the PR below 5 years ago:

https://github.com/theforeman/foreman/pull/7155/files#diff-cfdccd0a9d5df5a43aaad2a35d36ebbe187c52ad5fdc9846fa189d04537adb6eL201

Actions #1

Updated by The Foreman Bot 4 months ago

  • Status changed from New to Ready For Testing
  • Assignee set to Hao Yu
  • Pull request https://github.com/theforeman/foreman/pull/10387 added
Actions #2

Updated by The Foreman Bot about 1 month ago

  • Pull request https://github.com/theforeman/foreman/pull/10443 added
Actions #3

Updated by The Foreman Bot about 1 month ago

  • Pull request deleted (https://github.com/theforeman/foreman/pull/10387, https://github.com/theforeman/foreman/pull/10443)
Actions #4

Updated by The Foreman Bot about 1 month ago

  • Pull request https://github.com/theforeman/foreman/pull/10443 added
Actions #5

Updated by The Foreman Bot about 1 month ago

  • Fixed in Releases 3.14.0 added
Actions #6

Updated by Hao Yu about 1 month ago

  • Status changed from Ready For Testing to Closed
Actions #7

Updated by Ewoud Kohl van Wijngaarden about 1 month ago

  • Triaged changed from No to Yes
Actions

Also available in: Atom PDF