mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-10-14 02:22:03 +08:00
config: print the primary authentication method only once
This commit is contained in:
+1
-1
@@ -414,9 +414,9 @@ static void figure_auth_funcs(struct cfg_st *config, char **auth, unsigned auth_
|
||||
fprintf(stderr, "Unknown or unsupported auth method: %s\n", auth[j]);
|
||||
exit(1);
|
||||
}
|
||||
fprintf(stderr, "Setting '%s' as primary authentication method\n", config->auth[0].name);
|
||||
talloc_free(auth[j]);
|
||||
}
|
||||
fprintf(stderr, "Setting '%s' as primary authentication method\n", config->auth[0].name);
|
||||
} else {
|
||||
unsigned x = config->auth_methods;
|
||||
/* Append authentication methods (alternative options) */
|
||||
|
||||
Reference in New Issue
Block a user