Loading src/authdb.cpp +10 −0 Changes for src/authdb.cpp: 10 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -234,6 +234,7 @@ namespace authdb { rep.send(curreq,out,FAVICON_LEN); return; }else if(_AdminBackend.end()<=sizeof(authdb::AuthHeader)){ { AuthBackendLock admlock(_AdminBackend); try{ WizzardEvent(curreq,tid,args); Loading @@ -247,6 +248,15 @@ namespace authdb { return; } } } // admlock destructor pushes data to cluster store // Wizard finished — redirect to login (303 ensures GET) libhttppp::HttpResponse rep; rep.setState(HTTP303); rep.setHeaderData("Location")->push_back("/settings/index"); rep.setContentType("text/html"); rep.send(curreq, "", 0); return; } if(curreq.getRequestURL().compare(0,9,"/settings",9)==0){ Loading Loading
src/authdb.cpp +10 −0 Changes for src/authdb.cpp: 10 added lines, 0 removed lines. Original line number Diff line number Diff line Loading @@ -234,6 +234,7 @@ namespace authdb { rep.send(curreq,out,FAVICON_LEN); return; }else if(_AdminBackend.end()<=sizeof(authdb::AuthHeader)){ { AuthBackendLock admlock(_AdminBackend); try{ WizzardEvent(curreq,tid,args); Loading @@ -247,6 +248,15 @@ namespace authdb { return; } } } // admlock destructor pushes data to cluster store // Wizard finished — redirect to login (303 ensures GET) libhttppp::HttpResponse rep; rep.setState(HTTP303); rep.setHeaderData("Location")->push_back("/settings/index"); rep.setContentType("text/html"); rep.send(curreq, "", 0); return; } if(curreq.getRequestURL().compare(0,9,"/settings",9)==0){ Loading