remove dbg output for login
This commit is contained in:
parent
840fba6e92
commit
3532f3daf7
1 changed files with 0 additions and 2 deletions
|
@ -75,8 +75,6 @@ pub async fn post_login(
|
||||||
LoginErrorKind::Unknown
|
LoginErrorKind::Unknown
|
||||||
})?;
|
})?;
|
||||||
|
|
||||||
dbg!(&user);
|
|
||||||
|
|
||||||
let verifier = Argon2::default();
|
let verifier = Argon2::default();
|
||||||
let hash = PasswordHash::new(&user.pwhash).map_err(|_| LoginErrorKind::Internal)?;
|
let hash = PasswordHash::new(&user.pwhash).map_err(|_| LoginErrorKind::Internal)?;
|
||||||
match verifier.verify_password(pw.as_bytes(), &hash) {
|
match verifier.verify_password(pw.as_bytes(), &hash) {
|
||||||
|
|
Loading…
Reference in a new issue