Log a message for failed logins

This commit is contained in:
matt335672 2021-07-19 09:29:04 +01:00
parent 27107039d6
commit 36ec662a13
1 changed files with 2 additions and 0 deletions

View File

@ -157,6 +157,8 @@ scp_v0_process(struct SCP_CONNECTION *c, struct SCP_SESSION *s)
}
else
{
LOG(LOG_LEVEL_INFO, "Username or password error for user: %s",
s->username);
scp_v0s_deny_connection(c);
}
if (do_auth_end)