This commit is contained in:
Grant Limberg 2022-01-31 12:02:14 -08:00
parent 9c487cbfb8
commit c380a4e4bd
No known key found for this signature in database
GPG Key ID: 2BA62CCABBB4095A

View File

@ -63,11 +63,6 @@ impl Inner {
}
}
#[derive(Debug, Serialize, Deserialize)]
struct Exp {
exp: u64
}
fn csrf_func(csrf_token: String) -> Box<dyn Fn() -> CsrfToken> {
return Box::new(move || CsrfToken::new(csrf_token.to_string()));
}
@ -548,7 +543,6 @@ impl ZeroIDC {
let at = tok.access_token().secret();
// see previous note about this function's use
let t: Result<Token<jwt::Header, jwt::Claims, jwt::Unverified<'_>>, jwt::Error>= Token::parse_unverified(at);
if let Ok(t) = t {