ENH:enable authorized login for model publish page
Change-Id: If5045dc77d537c426f6847c47f961e0d247ed9fd
This commit is contained in:
parent
98c99ded70
commit
c75b4ad8fd
|
@ -5723,7 +5723,6 @@ void GUI_App::open_publish_page_dialog()
|
||||||
wxString language_code = this->current_language_code().BeforeFirst('_');
|
wxString language_code = this->current_language_code().BeforeFirst('_');
|
||||||
model_url += (language_code.ToStdString() + "/my/models/publish");
|
model_url += (language_code.ToStdString() + "/my/models/publish");
|
||||||
|
|
||||||
#if 0
|
|
||||||
if (getAgent() && mainframe) {
|
if (getAgent() && mainframe) {
|
||||||
|
|
||||||
//login already
|
//login already
|
||||||
|
@ -5736,7 +5735,6 @@ void GUI_App::open_publish_page_dialog()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
if (result < 0) {
|
if (result < 0) {
|
||||||
link_url = host_url + model_url;
|
link_url = host_url + model_url;
|
||||||
|
|
Loading…
Reference in New Issue