From 7ef1b6952874a40373562aa610dc78a119a4f075 Mon Sep 17 00:00:00 2001 From: metamuffin Date: Tue, 25 Mar 2025 15:14:09 +0100 Subject: openid: reauth if bad salt --- src/modules/auth/openid.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/auth/openid.rs b/src/modules/auth/openid.rs index ba45fe9..bad9c0c 100644 --- a/src/modules/auth/openid.rs +++ b/src/modules/auth/openid.rs @@ -24,7 +24,7 @@ use http::{ use http_body_util::BodyExt; use hyper::{Response, StatusCode}; use hyper_util::rt::TokioIo; -use log::{debug, info}; +use log::{debug, info, warn}; use percent_encoding::{ percent_decode, percent_decode_str, percent_encode, utf8_percent_encode, NON_ALPHANUMERIC, }; @@ -97,7 +97,7 @@ impl Node for OpenIDAuth { return Err(ServiceError::CustomStatic("salt sep invalid")); } } else { - return Err(ServiceError::CustomStatic("salt invalid")); + warn!("salt invalid"); } } else { debug!("aead invalid"); -- cgit v1.2.3-70-g09d2