mirror of
https://github.com/lennart-k/rustical.git
synced 2025-12-13 22:52:22 +00:00
Remove debug print of plaintext password (Whoops :/)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user