Skip to content

Commit 249a687

Browse files
committed
Remove unused app_state field from OidcService struct
1 parent 51c08d0 commit 249a687

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/webserver/oidc.rs

-2
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,6 @@ where
159159
#[derive(Clone)]
160160
pub struct OidcService<S> {
161161
service: S,
162-
app_state: web::Data<AppState>,
163162
config: Arc<OidcConfig>,
164163
oidc_client: Arc<OidcClient>,
165164
http_client: Arc<AwcHttpClient>,
@@ -177,7 +176,6 @@ impl<S> OidcService<S> {
177176
let client: OidcClient = make_oidc_client(&config, provider_metadata)?;
178177
Ok(Self {
179178
service,
180-
app_state: web::Data::clone(app_state),
181179
config,
182180
oidc_client: Arc::new(client),
183181
http_client: Arc::new(http_client),

0 commit comments

Comments
 (0)