DESUWE7PDNT34AEK5PDNELQJ2UV5UPCJNZWU3UE2V5WEXZQAI7MAC
7R6HAATP4CKWKNOFWAVCZFJVF6LADPHHIINR37PYNGAWGCTBJSJQC
4MZ4VIR7FU3PQ3WKJI6TJIKYOIIBODFEPKLMQ32S4AKPZSDFO6AQC
OJO4B4QO2JQLMZTGTJJIXEUNDIN45RFLEJBUZBYA7IS34XDPUAVAC
IM5ZPD4NEWQ67NSRP3M4R6FBET5HLY5YCX6WOTGGVWIMRGFD3L3AC
BCXEUKX6RVE4UQE46ITSQY2NXYK3MJT7HHL7CJOM7T4OOOCADMIAC
65A3LIWUS7UNMIHACC7ED6SSSSGQMKW4SAHQLXMT2YT6PFJ7KVUQC
use serde_derive::{Deserialize, Serialize};
use actix_web::http::header;
use actix_web::{web, HttpResponse};
#[derive(Serialize, Deserialize)]
pub struct LoginParams {
login: String,
password: String,
}
pub async fn login_post(_params: web::Form<LoginParams>) -> HttpResponse {
HttpResponse::Found()
.append_header((header::LOCATION, "index.html"))
.finish()
}