[PR #15198] [MERGED] Added Last Login to user/profile GUI views and the /users/user API output #14545

Closed
opened 2025-12-29 23:25:06 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/15198
Author: @zacho112
Created: 2/20/2024
Status: Merged
Merged: 2/20/2024
Merged by: @jeremystretch

Base: developHead: 15177-lastlogin-user-output


📝 Commits (4)

  • f0d43b1 Added Last Login to user/profile GUI and user api output
  • bcb2abe Update netbox/templates/account/profile.html
  • a628503 Update netbox/templates/account/profile.html
  • e718773 Update netbox/templates/users/user.html

📊 Changes

3 files changed (+9 additions, -1 deletions)

View changed files

📝 netbox/templates/account/profile.html (+4 -0)
📝 netbox/templates/users/user.html (+4 -0)
📝 netbox/users/api/serializers.py (+1 -1)

📄 Description

Fixes: #15177

Added last_login to the per-user view and the account/profile page as "Account Last Login" under "Account Created", as well as in the API output of users.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/netbox-community/netbox/pull/15198 **Author:** [@zacho112](https://github.com/zacho112) **Created:** 2/20/2024 **Status:** ✅ Merged **Merged:** 2/20/2024 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `develop` ← **Head:** `15177-lastlogin-user-output` --- ### 📝 Commits (4) - [`f0d43b1`](https://github.com/netbox-community/netbox/commit/f0d43b1d30086ffdc46dae0157ec0da96b64897a) Added Last Login to user/profile GUI and user api output - [`bcb2abe`](https://github.com/netbox-community/netbox/commit/bcb2abefc9bc4651e76df8f25bea908644970a7c) Update netbox/templates/account/profile.html - [`a628503`](https://github.com/netbox-community/netbox/commit/a628503485c64ba45c14a21b25bc80d707754de5) Update netbox/templates/account/profile.html - [`e718773`](https://github.com/netbox-community/netbox/commit/e718773c9e7fd41960fd59034e7bb96eda5a4610) Update netbox/templates/users/user.html ### 📊 Changes **3 files changed** (+9 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `netbox/templates/account/profile.html` (+4 -0) 📝 `netbox/templates/users/user.html` (+4 -0) 📝 `netbox/users/api/serializers.py` (+1 -1) </details> ### 📄 Description <!-- Thank you for your interest in contributing to NetBox! Please note that our contribution policy requires that a feature request or bug report be approved and assigned prior to opening a pull request. This helps avoid waste time and effort on a proposed change that we might not be able to accept. IF YOUR PULL REQUEST DOES NOT REFERENCE AN ISSUE WHICH HAS BEEN ASSIGNED TO YOU, IT WILL BE CLOSED AUTOMATICALLY. Please specify your assigned issue number on the line below. --> ### Fixes: #15177 <!-- Please include a summary of the proposed changes below. --> Added `last_login` to the per-user view and the account/profile page as "Account Last Login" under "Account Created", as well as in the API output of users. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-29 23:25:06 +01:00
adam closed this issue 2025-12-29 23:25:07 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#14545