Pass raw password to users_auth

By passing the raw password deeper into the authentication code, it can be
used to verify the user can access some systems. Right now, this is not
required by the simple salted password comparison done in MaxScale.
This commit is contained in:
Markus Mäkelä
2018-09-10 15:28:37 +03:00
parent 40d73948a9
commit daf5f52c64
6 changed files with 23 additions and 21 deletions

View File

@ -2046,7 +2046,7 @@ static bool user_is_authorized(DCB* dcb)
}
else
{
if (!admin_user_is_inet_admin(dcb->user))
if (!admin_user_is_inet_admin(dcb->user, nullptr))
{
rval = false;
}