Abort authentication if the client selected an invalid SASL mechanism.

Heikki Linnakangas <heikki.linnakangas@iki.fi>

Commit: 505b5d2f8672f13c98dd744a6d421da14f59cd39
Author: Heikki Linnakangas <heikki.linnakangas@iki.fi>
Date: 2017-05-25T12:50:47Z
Releases: 10.0
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

Files

PathChange+/−
src/backend/libpq/auth.c modified +4 −0

Discussion