mirror of
https://github.com/lennart-k/rustical.git
synced 2025-12-18 01:29:22 +00:00
AppToken add creation date
This commit is contained in:
@@ -111,6 +111,7 @@ impl AuthenticationProvider for TomlPrincipalStore {
|
||||
principal.app_tokens.push(AppToken {
|
||||
name,
|
||||
token: token_hash,
|
||||
created_at: Some(chrono::Utc::now()),
|
||||
});
|
||||
self.save(principals.deref())?;
|
||||
Ok(())
|
||||
|
||||
Reference in New Issue
Block a user