Loading src/blogi.cpp +6 −0 Changes for src/blogi.cpp: 6 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -590,6 +590,12 @@ RETRY_REQUEST: sitemapXML(curreq,tid,sessid); return; }else if(curreq.getRequestURL().compare(0,PlgArgs->config->buildurl("editor").length(),PlgArgs->config->buildurl("editor"))==0){ std::string sessionid; if(!PlgArgs->auth->isLoggedIn(tid,curreq,sessionid)){ libhttppp::HTTPException err; err[libhttppp::HTTPException::Error] << "you are not logged in permission denied"; throw err; } webedit::WebEditor(*PlgArgs,curreq,tid,sessid); return; }else if(curreq.getRequestURL().compare(0,PlgArgs->config->buildurl("render").length(),PlgArgs->config->buildurl("render"))==0){ Loading Loading
src/blogi.cpp +6 −0 Changes for src/blogi.cpp: 6 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -590,6 +590,12 @@ RETRY_REQUEST: sitemapXML(curreq,tid,sessid); return; }else if(curreq.getRequestURL().compare(0,PlgArgs->config->buildurl("editor").length(),PlgArgs->config->buildurl("editor"))==0){ std::string sessionid; if(!PlgArgs->auth->isLoggedIn(tid,curreq,sessionid)){ libhttppp::HTTPException err; err[libhttppp::HTTPException::Error] << "you are not logged in permission denied"; throw err; } webedit::WebEditor(*PlgArgs,curreq,tid,sessid); return; }else if(curreq.getRequestURL().compare(0,PlgArgs->config->buildurl("render").length(),PlgArgs->config->buildurl("render"))==0){ Loading