Fix config password parsing

This commit is contained in:
badaix 2025-02-09 21:01:18 +01:00
parent 7d7ef5bf10
commit aa3b289b47
4 changed files with 52 additions and 4 deletions

View file

@ -99,7 +99,7 @@ struct ServerSettings
{
std::string perm;
name = utils::string::split_left(user_password_role, ':', perm);
password = utils::string::split_left(perm, ':', role_name);
password = utils::string::split_right(perm, ':', role_name);
}
/// user name