diff options
author | Quentin Dufour <quentin@deuxfleurs.fr> | 2023-11-23 15:16:44 +0100 |
---|---|---|
committer | Quentin Dufour <quentin@deuxfleurs.fr> | 2023-11-23 15:16:44 +0100 |
commit | 8cd9801030e24c58621b3bed8723e8a8a4722ef8 (patch) | |
tree | 4272b416e50705288dc568d5b65a309a59037c3c /src/login | |
parent | 14c7a96c282e20ff0d5343a7a378554f34983d21 (diff) | |
download | aerogramme-8cd9801030e24c58621b3bed8723e8a8a4722ef8.tar.gz aerogramme-8cd9801030e24c58621b3bed8723e8a8a4722ef8.zip |
various fixes
Diffstat (limited to 'src/login')
-rw-r--r-- | src/login/static_provider.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/login/static_provider.rs b/src/login/static_provider.rs index 0e86cff..bd22060 100644 --- a/src/login/static_provider.rs +++ b/src/login/static_provider.rs @@ -104,11 +104,11 @@ impl LoginProvider for StaticLoginProvider { bucket, };*/ let storage: storage::Builders = match user.storage { - StaticStorage::InMemory => X, - StaticStorage::Garage => Y, + StaticStorage::InMemory => Box::new(storage::in_memory::FullMem {}), + StaticStorage::Garage(c) => Box::new(storage::garage::GrgCreds {}), }; - let k2v_client = storage.k2v_client()?; + let k2v_client = storage.row_store()?; let (_, public_key) = CryptoKeys::load_salt_and_public(&k2v_client).await?; Ok(PublicCredentials { |