client: rewrite account file if change project URL

This commit is contained in:
davidpanderson 2020-05-21 23:58:43 -07:00
parent b695ca2c05
commit 1585e89a6f
1 changed files with 1 additions and 0 deletions

View File

@ -615,6 +615,7 @@ int CLIENT_STATE::handle_scheduler_reply(
} else {
if (is_https_transition(url2.c_str(), url1.c_str())) {
strcpy(project->master_url, url1.c_str());
project->write_account_file();
msg_printf(project, MSG_INFO,
"Project URL changed from http:// to https://"
);