improvements

This commit is contained in:
nora 2024-08-13 21:27:43 +02:00
parent bfcf1120e1
commit 46f73c2de4
4 changed files with 15 additions and 9 deletions

View file

@ -111,12 +111,14 @@ pub mod auth {
let service_name = auth_req.utf8_string()?;
let method_name = auth_req.utf8_string()?;
info!(
%username,
%service_name,
%method_name,
"User trying to authenticate"
);
if method_name != "none" {
info!(
%username,
%service_name,
%method_name,
"User trying to authenticate"
);
}
if service_name != "ssh-connection" {
return Err(client_error!(