mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-11-25 09:57:34 +00:00
Use map of identity_provider to accommodate env var enumerations.
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
1 parent
0474753333
commit
0b864801f5
6 files changed
+76
-18
No files matched your search
@@ -52,7 +52,7 @@ pub(crate) async fn get_login_types_route(
|
||||
let identity_providers: Vec<_> = services
|
||||
.config
|
||||
.identity_provider
|
||||
.iter()
|
||||
.values()
|
||||
.filter(|_| list_idps)
|
||||
.cloned()
|
||||
.map(|config| IdentityProvider {
|
||||
|
||||
Reference in new issue
Block a user