mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-08-29 07:45:41 -05:00
[PR #143] [MERGED] Actually update the revision date for user struct, not just in DB #20835
Reference in New Issue
Block a user
📋 Pull Request Information
Original PR: https://github.com/dani-garcia/vaultwarden/pull/143
Author: @mprasil
Created: 8/21/2018
Status: ✅ Merged
Merged: 8/21/2018
Merged by: @dani-garcia
Base:
beta← Head:update_revision_fix📝 Commits (1)
4fb09c5Actually update the revision date for user struct, not just in DB📊 Changes
1 file changed (+2 additions, -1 deletions)
View changed files
📝
src/db/models/user.rs(+2 -1)📄 Description
The function borrows the user struct mutably, but doesn't actually update the revision date there. In our current use case this wasn't a problem, but might be an issue later on.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.