Project

General

Profile

Actions

Bug #38037

closed

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

Added by Hao Yu 5 months ago. Updated about 2 months 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

Also available in: Atom PDF