aboutsummaryrefslogtreecommitdiff
path: root/src/login
diff options
context:
space:
mode:
Diffstat (limited to 'src/login')
-rw-r--r--src/login/static_provider.rs6
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 {