diff --git a/app_auth_handlers/src/lib.rs b/app_auth_handlers/src/lib.rs index c810c58..65a535c 100644 --- a/app_auth_handlers/src/lib.rs +++ b/app_auth_handlers/src/lib.rs @@ -176,7 +176,7 @@ pub async fn logout_handler( //-> WebResult { let reqenv = ReqTasks::new(db.app, db.auth, header, method, "", "logout_header", "auth",); // let allow_origin = reqenv.config().allow_origin; - &reqenv.auth_store.sessions.write().await.remove(&user_ctx.token); + reqenv.auth_store.sessions.write().await.remove(&user_ctx.token); Ok(warp::http::Response::builder() .status(StatusCode::OK) //.header("Access-Control-Allow-Origin",&allow_origin)