OSUOSL/Nero are experiencing Internet connectivity problems. This affects us as we're hosted with OSUOSL. We apologize for the inconvenience.

Commit f6d269c8 authored by Philipp Schafft's avatar Philipp Schafft 🦁

Fix: Actually destroy clients on if auth has release callback

parent 1b5572f7
......@@ -486,6 +486,13 @@ static void auth_add_client(auth_t *auth, client_t *client, void (*on_no_match)(
static void __auth_on_result_destroy_client(client_t *client, void *userdata, auth_result result)
(void)userdata, (void)result;
/* determine whether we need to process this client further. This
* involves any auth exit, typically for external auth servers.
......@@ -496,6 +503,7 @@ int auth_release_client (client_t *client) {
if (client->auth && client->auth->release_client) {
auth_client *auth_user = auth_client_setup(client);
auth_user->process = auth_remove_client;
auth_user->on_result = __auth_on_result_destroy_client;
return 1;
} else if (client->auth) {
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment