ENH:reset user access code

jira:[for lan mode]

Change-Id: I2d0ed48411d683c3f20b2febc0d54747287870a7
This commit is contained in:
tao wang 2024-02-21 18:29:34 +08:00 committed by Lane.Wei
parent b44d934c3c
commit c0cbdfa898
1 changed files with 1 additions and 0 deletions

View File

@ -2726,6 +2726,7 @@ int MachineObject::parse_json(std::string payload)
std::string access_code = j_pre["system"]["access_code"].get<std::string>();
if (!access_code.empty()) {
set_access_code(access_code);
set_user_access_code(access_code);
}
}
}