Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add "Last Login" to per user view and API output #15177

Closed
zacho112 opened this issue Feb 16, 2024 · 2 comments · Fixed by #15198
Closed

Add "Last Login" to per user view and API output #15177

zacho112 opened this issue Feb 16, 2024 · 2 comments · Fixed by #15198
Assignees
Labels
status: accepted This issue has been accepted for implementation type: feature Introduction of new functionality to the application

Comments

@zacho112
Copy link
Contributor

NetBox version

v3.7.2

Feature type

Change to existing functionality

Proposed functionality

Expose the last_login in the specific user view (GUI), as well as include it in the API response api/users/users/, just as date_joined.

Use case

Ease user management/cleanup. Data is already present in the DB, just not visible via API.

Database changes

No response

External dependencies

No response

@zacho112 zacho112 added the type: feature Introduction of new functionality to the application label Feb 16, 2024
@zacho112
Copy link
Contributor Author

I guess this is a fairly simple changes to the template files user/user.html and maybe also account/profile.html, and the users/api/serializers.py

I can provide the PR my self if needed

@jeremystretch jeremystretch added the status: accepted This issue has been accepted for implementation label Feb 20, 2024
@jeremystretch
Copy link
Member

Assigned to you @zacho112, thanks for volunteering.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
status: accepted This issue has been accepted for implementation type: feature Introduction of new functionality to the application
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants