]> granicus.if.org Git - postgresql/commit
Abort authentication if the client selected an invalid SASL mechanism.
authorHeikki Linnakangas <heikki.linnakangas@iki.fi>
Thu, 25 May 2017 12:50:47 +0000 (08:50 -0400)
committerHeikki Linnakangas <heikki.linnakangas@iki.fi>
Thu, 25 May 2017 12:50:47 +0000 (08:50 -0400)
commit505b5d2f8672f13c98dd744a6d421da14f59cd39
tree5eb5c852cbe3762ff6cbaf57f3f9e1afbfe26a37
parent073ce405d68355eed36a11b41e558232ecf18201
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
src/backend/libpq/auth.c