Skip to content
Snippets Groups Projects
Commit 05f85252 authored by ale's avatar ale
Browse files

add a default for the auth server in the PAM config

parent cd4bcec0
Branches
No related tags found
No related merge requests found
......@@ -62,6 +62,10 @@ static void parse_cfg(int argc, const char **argv, struct cfg *cfg) {
int i;
memset(cfg, 0, sizeof(struct cfg));
// Set some defaults.
cfg->auth_server = "127.0.0.1:1616";
for (i = 0; i < argc; i++) {
if (!strcmp(argv[i], "debug")) {
cfg->debug = 1;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment