MXS-2820: Return correct value on wrong password

This commit is contained in:
Markus Mäkelä 2020-01-02 11:34:28 +02:00
parent ff78a8bca5
commit 964207cbea
No known key found for this signature in database
GPG Key ID: 72D48FCE664F7B19

View File

@ -415,6 +415,10 @@ int validate_mysql_user(MYSQL_AUTH* instance,
rval = MXS_AUTH_FAILED_DB;
}
}
else
{
rval = MXS_AUTH_FAILED_WRONG_PASSWORD;
}
}
return rval;