mirror of
https://github.com/postgres/postgres.git
synced 2025-11-07 19:06:32 +03:00
Refer to a TOKEN_USER payload as a "token user," not as a "user token".
This corrects messages for can't-happen errors. The corresponding "user token" appears in the HANDLE argument of GetTokenInformation().
This commit is contained in:
@@ -1252,7 +1252,7 @@ pg_SSPI_recvauth(Port *port)
|
||||
|
||||
if (!GetTokenInformation(token, TokenUser, tokenuser, retlen, &retlen))
|
||||
ereport(ERROR,
|
||||
(errmsg_internal("could not get user token: error code %lu",
|
||||
(errmsg_internal("could not get token user: error code %lu",
|
||||
GetLastError())));
|
||||
|
||||
CloseHandle(token);
|
||||
|
||||
Reference in New Issue
Block a user