add optin to delete saved license info

This commit is contained in:
Martin Michelsen
2022-06-04 22:56:18 -07:00
parent 35d9f12e0a
commit 9d2f845418
3 changed files with 8 additions and 0 deletions
+2
View File
@@ -347,6 +347,8 @@ void ServerState::create_menus(shared_ptr<const JSONObject> config_json) {
}
this->main_menu.emplace_back(MainMenuItemID::DISCONNECT, u"Disconnect",
u"Disconnect", 0);
this->main_menu.emplace_back(MainMenuItemID::CLEAR_LICENSE, u"Clear license",
u"Disconnect with an\ninvalid license error\nso you can enter a\ndifferent serial\nnumber, access key,\nor password", 0);
try {
this->welcome_message = decode_sjis(d.at("WelcomeMessage")->as_string());