diff options
author | Quentin Dufour <quentin@deuxfleurs.fr> | 2024-02-23 17:31:29 +0100 |
---|---|---|
committer | Quentin Dufour <quentin@deuxfleurs.fr> | 2024-02-23 17:31:29 +0100 |
commit | 2a084df300dc30d40cf3599c1cb7a90132d5a6e8 (patch) | |
tree | 302175b460a39a4752021d03afd9e7cccda1d56e /src/login | |
parent | 02a8537556236437d905cefe8aa2c5d0a96f129a (diff) | |
download | aerogramme-2a084df300dc30d40cf3599c1cb7a90132d5a6e8.tar.gz aerogramme-2a084df300dc30d40cf3599c1cb7a90132d5a6e8.zip |
Also share HTTPClient for K2Vperf/cpu-ram-bottleneck
Diffstat (limited to 'src/login')
-rw-r--r-- | src/login/ldap_provider.rs | 2 | ||||
-rw-r--r-- | src/login/static_provider.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/login/ldap_provider.rs b/src/login/ldap_provider.rs index 42c993d..0af5676 100644 --- a/src/login/ldap_provider.rs +++ b/src/login/ldap_provider.rs @@ -96,7 +96,7 @@ impl LdapLoginProvider { //Login provider should return only a cryptoroot + a storage URI //storage URI that should be resolved outside... in_memory_store: storage::in_memory::MemDb::new(), - garage_store: storage::garage::GarageRoot::new(), + garage_store: storage::garage::GarageRoot::new()?, }) } diff --git a/src/login/static_provider.rs b/src/login/static_provider.rs index e190a91..79626df 100644 --- a/src/login/static_provider.rs +++ b/src/login/static_provider.rs @@ -85,7 +85,7 @@ impl StaticLoginProvider { Ok(Self { user_db: rx, in_memory_store: storage::in_memory::MemDb::new(), - garage_store: storage::garage::GarageRoot::new(), + garage_store: storage::garage::GarageRoot::new()?, }) } } |