Remove mon and osd user types

This commit is contained in:
Vitaliy Filippov
2026-05-19 17:19:47 +03:00
parent 3779e2670d
commit 3dd0e4daca
4 changed files with 3 additions and 7 deletions
+1 -1
View File
@@ -31,7 +31,7 @@ struct cli_modify_user_t
goto resume_1;
else if (state == 2)
goto resume_2;
if (user_type != "client" && user_type != "admin" && user_type != "mon" && user_type != "osd")
if (user_type != "client" && user_type != "admin")
{
result = (cli_result_t){ .err = EINVAL, .text = "Unknown user type: "+user_type };
state = 100;