remove debug thingy
This commit is contained in:
parent
4321986204
commit
afa5597f49
@ -36,7 +36,6 @@ struct LoginForm<'r> {
|
||||
|
||||
#[post("/", data = "<login>")]
|
||||
async fn wikiauth(db: &State<SqlitePool>, login: Form<LoginForm<'_>>) -> String {
|
||||
println!("{login:?}");
|
||||
match User::login(db, login.name, login.password).await {
|
||||
Ok(_) => "SUCC".into(),
|
||||
Err(_) => "FAIL".into(),
|
||||
|
Loading…
Reference in New Issue
Block a user