Auth fixes (#664)

* Auth fixes

* destroy flows after use

* fix comp err

* add bearer err msg
This commit is contained in:
Geometrically
2023-08-04 16:22:15 -07:00
committed by GitHub
parent 039d26feeb
commit ca0468b8d5
6 changed files with 19 additions and 7 deletions

View File

@@ -1,6 +1,7 @@
use actix_web::HttpResponse;
use actix_web::{get, HttpResponse};
use serde_json::json;
#[get("/")]
pub async fn index_get() -> HttpResponse {
let data = json!({
"name": "modrinth-labrinth",