ENH:enable authorized login for model publish page

Change-Id: If5045dc77d537c426f6847c47f961e0d247ed9fd
This commit is contained in:
tao wang 2023-04-19 18:35:35 +08:00 committed by Lane.Wei
parent 98c99ded70
commit c75b4ad8fd
1 changed files with 0 additions and 2 deletions

View File

@ -5723,7 +5723,6 @@ void GUI_App::open_publish_page_dialog()
wxString language_code = this->current_language_code().BeforeFirst('_');
model_url += (language_code.ToStdString() + "/my/models/publish");
#if 0
if (getAgent() && mainframe) {
//login already
@ -5736,7 +5735,6 @@ void GUI_App::open_publish_page_dialog()
}
}
}
#endif
if (result < 0) {
link_url = host_url + model_url;