Ticket #440: use_uid_if_user_name_is_empty.patch
| File use_uid_if_user_name_is_empty.patch, 0.8 kB (added by fthomas, 11 months ago) |
|---|
-
clientgui/ProjectProcessingPage.cpp
old new 399 399 ai->email_addr = (const char*)pWAP->m_AccountInfoPage->GetAccountEmailAddress().mb_str(); 400 400 ai->passwd = (const char*)pWAP->m_AccountInfoPage->GetAccountPassword().mb_str(); 401 401 ai->user_name = (const char*)::wxGetUserName().mb_str(); 402 if (ai->user_name.empty()) { 403 ai->user_name = (const char*)::wxGetUserId().mb_str(); 404 } 402 405 403 406 if (pWAP->m_AccountInfoPage->m_pAccountCreateCtrl->GetValue()) { 404 407 pDoc->rpc.create_account(*ai);
