vw_small

Hardened fork of Vaultwarden (https://github.com/dani-garcia/vaultwarden) with fewer features.
git clone https://git.philomathiclife.com/repos/vw_small
Log | Files | Refs | README

commit c6256e14559b0f79b43bd436053f3af3c832e01d
parent 0cd3053fcb2ca1f2f565447c26268b8e31ba0be9
Author: Daniel GarcĂ­a <dani-garcia@users.noreply.github.com>
Date:   Fri, 10 Aug 2018 19:40:56 +0200

Merge pull request #128 from mprasil/revision_date

Return revision date in miliseconds (fixes #127)
Diffstat:
Msrc/api/core/accounts.rs | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/api/core/accounts.rs b/src/api/core/accounts.rs @@ -244,7 +244,7 @@ fn delete_account(data: JsonUpcase<PasswordData>, headers: Headers, conn: DbConn #[get("/accounts/revision-date")] fn revision_date(headers: Headers) -> String { - let revision_date = headers.user.updated_at.timestamp(); + let revision_date = headers.user.updated_at.timestamp_millis(); revision_date.to_string() }