mirror of
https://github.com/weyne85/rustdesk.git
synced 2025-10-29 17:00:05 +00:00
fix build windows i686
Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user