Commit 7534c9f5 authored by jan.koester's avatar jan.koester
Browse files

test

parent 6933b936
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -460,7 +460,7 @@ void blogi::Blogi::api(libhttppp::HttpRequest& curreq, const int tid, DomainCont
                    if (username && password) {
                        try {
                            // Call the authentication service
                            PlgArgs->auth->Apilogin(tid, username, password, aid);
                            PlgArgs->auth->Apilogin(tid, username, password, aid, ctx.domainName);

                            // Success response: returns the new authid
                            json_object* jsuccess = json_object_new_object();
@@ -726,7 +726,7 @@ void blogi::Blogi::loginPage(libhttppp::HttpRequest &curreq,const int tid,const
    }

    uuid::uuid sessid;
    PlgArgs->auth->login(tid,username.c_str(),password.c_str(),sessid,sessionid);
    PlgArgs->auth->login(tid,username.c_str(),password.c_str(),sessid,sessionid,ctx.domainName);

    if(!sessid.empty()){
        libhttppp::HttpResponse curres;