mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-18 13:42:02 +00:00
fix
This commit is contained in:
parent
c6910f39b9
commit
6ddd76c5a0
@ -1475,9 +1475,8 @@ void TCPHandler::receiveQuery()
|
||||
session->authenticate(AlwaysAllowCredentials{client_info.initial_user}, client_info.initial_address);
|
||||
}
|
||||
#else
|
||||
auto exception = Exception(
|
||||
"Inter-server secret support is disabled, because ClickHouse was built without SSL library",
|
||||
ErrorCodes::AUTHENTICATION_FAILED);
|
||||
auto exception = Exception(ErrorCodes::AUTHENTICATION_FAILED,
|
||||
"Inter-server secret support is disabled, because ClickHouse was built without SSL library");
|
||||
session->onAuthenticationFailure(/* user_name */ std::nullopt, socket().peerAddress(), exception);
|
||||
throw exception; /// NOLINT
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user