print error msg
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/pr Build is failing

This commit is contained in:
shimun 2020-09-29 19:24:33 +02:00
parent f6627d887b
commit 11ac32d3f1
Signed by: shimun
GPG Key ID: E81D8382DC2F971B

View File

@ -166,10 +166,12 @@ impl PamServiceModule for PamFido2Luks {
args,
) {
Ok(_) => PamError::SUCCESS,
Err(e) => match e {
//TODO: output more detailed error
_ => PamError::AUTH_ERR,
},
Err(e) => {
eprintln!("{}", e);
match e {
_ => PamError::AUTH_ERR,
}
}
}
} else {
PamError::AUTH_ERR