update email text, adding email check as separat field for json call from php

This commit is contained in:
Dario 2019-10-25 08:56:56 +02:00
parent 098c66509f
commit da594fa541
2 changed files with 4 additions and 1 deletions

View File

@ -198,7 +198,9 @@ bool Session::createUser(const std::string& first_name, const std::string& last_
ss << "Hallo " << first_name << " " << last_name << "," << std::endl << std::endl;
ss << "Du oder jemand anderes hat sich soeben mit dieser E-Mail Adresse bei Gradido registriert. " << std::endl;
ss << "Wenn du es warst, klicke bitte auf den Link: https://gradido2.dario-rekowski.de/account/checkEmail/" << mEmailVerificationCode << std::endl;
ss << "oder kopiere den Code: " << mEmailVerificationCode << " selbst dort hinein." << std::endl << std::endl;
//ss << "oder kopiere den Code: " << mEmailVerificationCode << " selbst dort hinein." << std::endl;
ss << "oder kopiere den obigen Link in Dein Browserfenster." << std::endl;
ss << std::endl;
ss << "Mit freundlichen Grüße" << std::endl;
ss << "Dario, Gradido Server Admin" << std::endl;

View File

@ -371,6 +371,7 @@ Poco::JSON::Object User::getJson()
userObj.set("email", mEmail);
userObj.set("public_hex", mPublicHex);
userObj.set("state", userStateToString(mState));
userObj.set("email_checked", mEmailChecked);
unlock();
return userObj;
}