mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
fix bug
This commit is contained in:
parent
e226a10b4b
commit
17907b23ad
@ -151,7 +151,7 @@ Poco::JSON::Object* JsonUnsecureLogin::handle(Poco::Dynamic::Var params)
|
||||
}
|
||||
if (hasElopage) {
|
||||
auto elopage_buy = Poco::AutoPtr<model::table::ElopageBuy>(new model::table::ElopageBuy);
|
||||
result->set("hasElopage", elopage_buy->isExistInDB("email", mSession->getNewUser()->getModel()->getEmail()));
|
||||
result->set("hasElopage", elopage_buy->isExistInDB("email", user_model->getEmail()));
|
||||
}
|
||||
return result;
|
||||
default:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user