Remove dead comments
This commit is contained in:
parent
f7403b43a3
commit
2f6be84a43
|
@ -29,27 +29,6 @@ pub use file_service::{
|
||||||
};
|
};
|
||||||
pub use handlers::handle_index;
|
pub use handlers::handle_index;
|
||||||
|
|
||||||
/*
|
|
||||||
async fn authenticate_user(app: App, auth_token: String) -> Result<Username, warp::Rejection> {
|
|
||||||
match app.auth_session(SessionToken::from(auth_token)).await {
|
|
||||||
Ok(username) => Ok(username),
|
|
||||||
Err(_) => Err(warp::reject::not_found()),
|
|
||||||
}
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*
|
|
||||||
*/
|
|
||||||
|
|
||||||
#[derive(Clone)]
|
#[derive(Clone)]
|
||||||
pub struct App {
|
pub struct App {
|
||||||
authdb: Arc<RwLock<AuthDB>>,
|
authdb: Arc<RwLock<AuthDB>>,
|
||||||
|
|
Loading…
Reference in New Issue