fix build windows i686

Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
fufesou
2023-05-19 23:38:18 +08:00
parent f35c74133b
commit 0f07b71f18
3 changed files with 4 additions and 4 deletions

View File

@@ -1456,7 +1456,7 @@ impl ConfigOidc {
fn _load_env(mut self) -> Self {
use std::env;
for (k, mut v) in &mut self.providers {
for (k, v) in &mut self.providers {
if let Ok(client_id) = env::var(format!("OIDC-{}-CLIENT-ID", k.to_uppercase())) {
v.client_id = client_id;
}