X-Git-Url: https://git.pterodactylus.net/?p=fms.git;a=blobdiff_plain;f=src%2Fhttp%2Fpages%2Fannounceidentitypage.cpp;fp=src%2Fhttp%2Fpages%2Fannounceidentitypage.cpp;h=bf9529525d0d5211f9a55d9f0a31c4af4b53d955;hp=e8f7fd417a10ca6223e15a1edff0a9f1cbe300a3;hb=f2545574af789b63fc655decfe31a3d9f1b30504;hpb=221236a4d3aac4144529d418ce368db5c98facb0 diff --git a/src/http/pages/announceidentitypage.cpp b/src/http/pages/announceidentitypage.cpp index e8f7fd4..bf95295 100644 --- a/src/http/pages/announceidentitypage.cpp +++ b/src/http/pages/announceidentitypage.cpp @@ -26,7 +26,7 @@ const std::string AnnounceIdentityPage::CreateLocalIdentityDropDown(const std::s st.ResultText(1,name); st.ResultText(2,pubkey); - rval+=""; + rval+=""; st.Step(); } rval+=""; @@ -47,11 +47,11 @@ const std::string AnnounceIdentityPage::GeneratePage(const std::string &method, std::string pubkey=""; int requestindex=0; bool willshow=false; + std::string localidentityidstr=""; if(queryvars.find("formaction")!=queryvars.end() && (*queryvars.find("formaction")).second=="announce" && ValidateFormPassword(queryvars)) { SQLite3DB::Statement insert=m_db->Prepare("INSERT INTO tblIdentityIntroductionInserts(LocalIdentityID,Day,UUID,Solution) VALUES(?,?,?,?);"); - std::string localidentityidstr=""; int localidentityid=0; std::vector uuids; std::vector days; @@ -87,7 +87,7 @@ const std::string AnnounceIdentityPage::GeneratePage(const std::string &method, content+=""; content+=""; content+=""; content+=""; content+="";
Select Identity : "; - content+=CreateLocalIdentityDropDown("localidentityid",""); + content+=CreateLocalIdentityDropDown("localidentityid",localidentityidstr); content+="
Type the answers of a few of the following puzzles. You don't need to get them all correct, but remember that they are case sensitive. Getting announced will take some time and you must assign trust to other identities to see yourself announced. DO NOT continuously solve captchas. Solve 30 at most, wait a day, and if your identity has not been announced, repeat until it is.