diff options
| author | Shayne Hartford <shaybox@shaybox.com> | 2025-10-28 14:29:24 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-10-28 13:29:24 -0500 |
| commit | b4cc682455419138ddbc71c72f37d9e10c936fc7 (patch) | |
| tree | df258901ec9f7aca3b80352d403830118a6686c0 | |
| parent | 5bc618615ec7798cf9f6779cbee8cab3bf69a898 (diff) | |
| download | azalea-drasl-b4cc682455419138ddbc71c72f37d9e10c936fc7.tar.xz | |
Add cache_key alias to avoid re-auth (#270)
| -rw-r--r-- | azalea-auth/src/cache.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/azalea-auth/src/cache.rs b/azalea-auth/src/cache.rs index 41a578c2..da200053 100644 --- a/azalea-auth/src/cache.rs +++ b/azalea-auth/src/cache.rs @@ -28,6 +28,7 @@ pub enum CacheError { #[derive(Deserialize, Serialize, Debug)] pub struct CachedAccount { + #[serde(alias = "email")] pub cache_key: String, /// Microsoft auth pub msa: ExpiringValue<crate::auth::AccessTokenResponse>, |
