simple Log In endpoint without encryption

This commit is contained in:
2025-09-22 23:58:07 +02:00
parent 3450c216c0
commit 007071cf12
14 changed files with 680 additions and 60 deletions

16
src/utils/routes.rs Normal file
View File

@@ -0,0 +1,16 @@
use axum::{
routing::{get, put, post},
Router,
};
use crate::utils::auth::*;
use crate::utils::db_pool::{HotelPool, AppState};
// ROOTS
pub fn utils_routes() -> Router<AppState> {
Router::new()
.route("/login", put(clean_auth_loging))
//.with_state(state)
}