/* find pool and log about it */
if (set_pool(client, dbname, username)) {
if (cf_log_connections)
- slog_info(client, "login successful: db=%s user=%s", dbname, username);
+ slog_info(client, "login attempt: db=%s user=%s", dbname, username);
return true;
} else {
if (cf_log_connections)
if (!finish_client_login(client))
return false;
} else {
- disconnect_client(client, true, "Login failed");
+ disconnect_client(client, true, "Auth failed");
return false;
}
break;