diff options
Diffstat (limited to 'src/modules/auth/openid.rs')
-rw-r--r-- | src/modules/auth/openid.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/auth/openid.rs b/src/modules/auth/openid.rs index 1e5a063..db03c2f 100644 --- a/src/modules/auth/openid.rs +++ b/src/modules/auth/openid.rs @@ -22,7 +22,7 @@ use log::info; use percent_encoding::{percent_decode, utf8_percent_encode, NON_ALPHANUMERIC}; use rand::random; use serde::Deserialize; -use serde_yaml::Value; +use serde_yml::Value; use sha2::{Digest, Sha256}; use std::{io::Read, pin::Pin, str::FromStr, sync::Arc}; use tokio::net::TcpStream; @@ -33,7 +33,7 @@ impl NodeKind for OpenIDAuthKind { "openid_auth" } fn instanciate(&self, config: Value) -> anyhow::Result<Arc<dyn Node>> { - Ok(Arc::new(serde_yaml::from_value::<OpenIDAuth>(config)?)) + Ok(Arc::new(serde_yml::from_value::<OpenIDAuth>(config)?)) } } |