|
@@ -349,7 +349,7 @@ std::string PostgreSQL::getSSOAuthURL(const nlohmann::json &member)
|
|
|
|
|
|
pqxx::result ir = w.exec_params0("INSERT INTO ztc_sso_expiry "
|
|
pqxx::result ir = w.exec_params0("INSERT INTO ztc_sso_expiry "
|
|
"(nonce, nonce_expiration, network_id, member_id) VALUES "
|
|
"(nonce, nonce_expiration, network_id, member_id) VALUES "
|
|
- "($1, TO_TIMESTAMP($2::double precision/1000) $3, $4)",
|
|
|
|
|
|
+ "($1, TO_TIMESTAMP($2::double precision/1000), $3, $4)",
|
|
nonce, OSUtils::now() + 300000, networkId, memberId);
|
|
nonce, OSUtils::now() + 300000, networkId, memberId);
|
|
} else {
|
|
} else {
|
|
// > 1 ?!? Thats an error!
|
|
// > 1 ?!? Thats an error!
|