chore: syntax fix
This commit is contained in:
parent
2f305ffecf
commit
3258b05bc1
@ -176,7 +176,7 @@ pub async fn logout_handler(
|
||||
//-> WebResult<impl Reply> {
|
||||
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)
|
||||
|
Loading…
Reference in New Issue
Block a user