MXS-2820: Return correct value on wrong password
This commit is contained in:
parent
ff78a8bca5
commit
964207cbea
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user