Loading src/auth.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -109,7 +109,7 @@ bool blogi::Auth::ldapLogin(const char *username,const char *password,std::strin berval cred, * servercred; cred.bv_val = (char*)password; cred.bv_len = strlen(password); ulerr = ldap_sasl_bind_s(userldap, username, LDAP_SASL_AUTOMATIC, ulerr = ldap_sasl_bind_s(userldap, username, nullptr, &cred, &userserverctls, &userclientctls, &servercred); if (ulerr != LDAP_SUCCESS) { Loading src/blogi.cpp +0 −1 Original line number Diff line number Diff line Loading @@ -171,7 +171,6 @@ void blogi::Blogi::loginPage(netplus::con*curcon,libhttppp::HttpRequest *curreq) curres.setContentType("text/html"); curres.send(curcon, nullptr, 0); }else{ char tmp[512]; libhttppp::HttpResponse curres; libhttppp::HttpCookie cookie; curres.setState(HTTP403); Loading Loading
src/auth.cpp +1 −1 Original line number Diff line number Diff line Loading @@ -109,7 +109,7 @@ bool blogi::Auth::ldapLogin(const char *username,const char *password,std::strin berval cred, * servercred; cred.bv_val = (char*)password; cred.bv_len = strlen(password); ulerr = ldap_sasl_bind_s(userldap, username, LDAP_SASL_AUTOMATIC, ulerr = ldap_sasl_bind_s(userldap, username, nullptr, &cred, &userserverctls, &userclientctls, &servercred); if (ulerr != LDAP_SUCCESS) { Loading
src/blogi.cpp +0 −1 Original line number Diff line number Diff line Loading @@ -171,7 +171,6 @@ void blogi::Blogi::loginPage(netplus::con*curcon,libhttppp::HttpRequest *curreq) curres.setContentType("text/html"); curres.send(curcon, nullptr, 0); }else{ char tmp[512]; libhttppp::HttpResponse curres; libhttppp::HttpCookie cookie; curres.setState(HTTP403); Loading