diff options
author | Kjetil Orbekk <kj@orbekk.com> | 2022-11-15 15:14:48 -0500 |
---|---|---|
committer | Kjetil Orbekk <kj@orbekk.com> | 2022-11-15 15:15:06 -0500 |
commit | 87ede1e2b367a997440626ad9f583600d7cc42fc (patch) | |
tree | a3fd0008714e6d524c2e3b967734a0cfb6cf6cbd /server/src/auth.rs | |
parent | 1f623cca3ea0937508b8c50f4c32a0972271e8f4 (diff) |
Fix rust warnings
Diffstat (limited to 'server/src/auth.rs')
-rw-r--r-- | server/src/auth.rs | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/server/src/auth.rs b/server/src/auth.rs index 98a0000..445a0d2 100644 --- a/server/src/auth.rs +++ b/server/src/auth.rs @@ -11,7 +11,6 @@ use async_trait::async_trait; use axum::{ extract::FromRequest, response::{IntoResponse, Response}, - Json, }; use chrono::{DateTime, Utc}; use lru::LruCache; @@ -23,10 +22,9 @@ use openidconnect::{ CsrfToken, IssuerUrl, Nonce, OAuth2TokenResponse, RedirectUrl, RefreshToken, Scope, TokenResponse, }; -use protocol::UserInfo; use serde::{Deserialize, Serialize}; use sqlx::PgPool; -use tower_cookies::{Cookie, Cookies}; +use tower_cookies::Cookies; use tracing::{debug, error, info}; use uuid::Uuid; |