Update AccessControl.cpp

This commit is contained in:
Robert Schulze 2024-11-04 13:33:34 +01:00 committed by GitHub
parent 27049f2cb5
commit c3471ef20d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -608,7 +608,7 @@ AuthResult AccessControl::authenticate(const Credentials & credentials, const Po
}
catch (...)
{
tryLogCurrentException(getLogger(), "from: " + address.toString() + ", user: " + credentials.getUserName() + ": Authentication failed", LogsLevel::information);
tryLogCurrentException(getLogger(), "from: " + address.toString() + ", user: " + credentials.getUserName() + ": Authentication failed", LogsLevel::debug);
WriteBufferFromOwnString message;
message << credentials.getUserName() << ": Authentication failed: password is incorrect, or there is no user with such name.";