mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-03-01 11:19:52 +03:00
[PR #1245] [MERGED] Show last active it on admin users page #2894
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/dani-garcia/vaultwarden/pull/1245
Author: @janost
Created: 11/30/2020
Status: ✅ Merged
Merged: 12/8/2020
Merged by: @dani-garcia
Base:
master← Head:user-last-login📝 Commits (1)
1eb5495Show latest active device as last active on admin page📊 Changes
4 files changed (+25 additions, -0 deletions)
View changed files
📝
src/api/admin.rs(+5 -0)📝
src/db/models/device.rs(+11 -0)📝
src/db/models/user.rs(+7 -0)📝
src/static/templates/admin/users.hbs(+2 -0)📄 Description
Feature request from #246.
This change implements saving last login date and time for users to the database and adds this information to the admin panel's user list. I also added the user creation date to the admin page.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.