Commit ab3ae78b authored by jan.koester's avatar jan.koester
Browse files

test

parent 3e938bd1
Loading
Loading
Loading
Loading
Loading
+4 −1
Changes for src/authdb.cpp: 4 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -576,6 +576,8 @@ int main(int argc,char *argv[]){
    authdb::g_Log.open("access.log", "error.log");
#endif

    try {

    confplus::Config config(cmd.getCmdbyKey("config")->getValue());

    /* Determine backend type: cluster or file */
@@ -585,7 +587,6 @@ int main(int argc,char *argv[]){
        if (clusterEnable && config.getValue(clusterEnable, 0) == "true")
            clusterEnabled = true;
    }
    try {
        std::string cert=config.getValue(config.getKey("/AUTHDB/SSL/CERT"),0);
        std::string key=config.getValue(config.getKey("/AUTHDB/SSL/KEY"),0);

@@ -769,6 +770,8 @@ int main(int argc,char *argv[]){
        authdb::g_PluginManager = nullptr;
    }catch(authdb::AuthBackendError &e){
        std::cerr << e.what() << std::endl;
    }catch(std::exception &e){
        std::cerr << e.what() << std::endl;
    }
    return 0;
}