Renamed API key / user/password auth choices for SL1

This commit is contained in:
Vojtech Bubnik 2020-11-30 08:49:09 +01:00
parent 30d7ef2cf9
commit 518cbfa192

View File

@ -159,8 +159,8 @@ void PrintConfigDef::init_common_params()
def->enum_keys_map = &ConfigOptionEnum<AuthorizationType>::get_enum_values(); def->enum_keys_map = &ConfigOptionEnum<AuthorizationType>::get_enum_values();
def->enum_values.push_back("key"); def->enum_values.push_back("key");
def->enum_values.push_back("user"); def->enum_values.push_back("user");
def->enum_labels.push_back("KeyPassword"); def->enum_labels.push_back("API key");
def->enum_labels.push_back("UserPassword"); def->enum_labels.push_back("HTTP digest");
def->mode = comAdvanced; def->mode = comAdvanced;
def->set_default_value(new ConfigOptionEnum<AuthorizationType>(atKeyPassword)); def->set_default_value(new ConfigOptionEnum<AuthorizationType>(atKeyPassword));
} }