aboutsummaryrefslogtreecommitdiff
path: root/src/login
diff options
context:
space:
mode:
authorQuentin <quentin@dufour.io>2024-02-10 11:11:55 +0000
committerQuentin <quentin@dufour.io>2024-02-10 11:11:55 +0000
commit3b675ac35769a3be3f268e0c8fecb41bae9acc72 (patch)
tree3d3adfb66c40fcd005bdf0b64e2c3d78f8659ca1 /src/login
parent93c0aa4b3a89201530520c46986659731a43cad6 (diff)
parent0e3cfe536f111c1094d530aed0581390e3fbc878 (diff)
downloadaerogramme-3b675ac35769a3be3f268e0c8fecb41bae9acc72.tar.gz
aerogramme-3b675ac35769a3be3f268e0c8fecb41bae9acc72.zip
Merge pull request 'WIP 0.2.1' (#93) from bug/deployment into main
Reviewed-on: https://git.deuxfleurs.fr/Deuxfleurs/aerogramme/pulls/93
Diffstat (limited to 'src/login')
-rw-r--r--src/login/ldap_provider.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/login/ldap_provider.rs b/src/login/ldap_provider.rs
index 81e5879..e73e1dc 100644
--- a/src/login/ldap_provider.rs
+++ b/src/login/ldap_provider.rs
@@ -60,6 +60,9 @@ impl LdapLoginProvider {
let specific = match config.storage {
LdapStorage::InMemory => StorageSpecific::InMemory,
LdapStorage::Garage(grgconf) => {
+ attrs_to_retrieve.push(grgconf.aws_access_key_id_attr.clone());
+ attrs_to_retrieve.push(grgconf.aws_secret_access_key_attr.clone());
+
let bucket_source =
match (grgconf.default_bucket.clone(), grgconf.bucket_attr.clone()) {
(Some(b), None) => BucketSource::Constant(b),