Remove debug print of plaintext password (Whoops :/)

This commit is contained in:
Lennart
2024-12-22 18:56:32 +01:00
parent 9813fb5f95
commit e3640f84e3

View File

@@ -28,8 +28,6 @@ pub async fn route_post_login<AP: AuthenticationProvider>(
session: Session,
auth_provider: Data<AP>,
) -> HttpResponse {
// TODO: implement auth check
dbg!(&form.username, &form.password);
if let Ok(Some(user)) = auth_provider
.validate_user_token(&form.username, &form.password)
.await