MXS-2820: Return correct value on wrong password
This commit is contained in:
@ -415,6 +415,10 @@ int validate_mysql_user(MYSQL_AUTH* instance,
|
|||||||
rval = MXS_AUTH_FAILED_DB;
|
rval = MXS_AUTH_FAILED_DB;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
rval = MXS_AUTH_FAILED_WRONG_PASSWORD;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return rval;
|
return rval;
|
||||||
|
Reference in New Issue
Block a user