diff options
author | Quentin <quentin@dufour.io> | 2024-02-10 11:11:55 +0000 |
---|---|---|
committer | Quentin <quentin@dufour.io> | 2024-02-10 11:11:55 +0000 |
commit | 3b675ac35769a3be3f268e0c8fecb41bae9acc72 (patch) | |
tree | 3d3adfb66c40fcd005bdf0b64e2c3d78f8659ca1 /src/login | |
parent | 93c0aa4b3a89201530520c46986659731a43cad6 (diff) | |
parent | 0e3cfe536f111c1094d530aed0581390e3fbc878 (diff) | |
download | aerogramme-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.rs | 3 |
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), |