Commit a0269727 authored by Jon Turney's avatar Jon Turney Committed by Adam Jackson
Browse files

Clarify authorization failure reason strings sent back to the client

parent c1703cdf
Pipeline #50755 passed with stages
in 5 minutes and 42 seconds
......@@ -215,11 +215,11 @@ CheckAuthorization(unsigned int name_length,
return (*protocols[i].Check) (data_length, data, client,
*reason = "Protocol not supported by server\n";
*reason = "Authorization protocol not supported by server\n";
*reason = "No protocol specified\n";
*reason = "Authorization required, but no authorization protocol specified\n";
return (XID) ~0L;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment