Thread: [COMMITTERS] pgsql: Abort authentication if the client selected an invalid SASLmech

Abort authentication if the client selected an invalid SASL mechanism.

Previously, the server would log an error, but then try to continue with
SCRAM-SHA-256 anyway.

Michael Paquier

Discussion: https://www.postgresql.org/message-id/CAB7nPqR0G5aF2_kc_LH29knVqwvmBc66TF5DicvpGVdke68nKw@mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/505b5d2f8672f13c98dd744a6d421da14f59cd39

Modified Files
--------------
src/backend/libpq/auth.c | 4 ++++
1 file changed, 4 insertions(+)