Commit 23220c6b authored by Nimetu's avatar Nimetu

Changed: Add extra url parameters only for trusted domain requests

--HG--
branch : develop
parent c21e133c
......@@ -357,6 +357,9 @@ void CGroupHTMLAuth::addHTTPGetParams (string &url, bool trustedDomain)
void CGroupHTMLAuth::addHTTPPostParams (SFormFields &formfields, bool trustedDomain)
{
// no extras parameters added to url if not in trusted domains list
if (!trustedDomain) return;
if(!UserEntity || !NetMngr.getLoginCookie().isValid()) return;
uint32 cid = NetMngr.getLoginCookie().getUserId() * 16 + PlayerSelectedSlot;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment