Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions mod_authnz_external/mod_authnz_external.c
Original file line number Diff line number Diff line change
Expand Up @@ -673,6 +673,9 @@ static authz_status externalgroup_check_authorization(request_rec *r,
"User not in Required group. Last result code: %i",
r->user, r->uri, code);

// Revisit whether there was an authenticated user so that we can flag Apache appropriately
if (r->user == "") return AUTHZ_DENIED_NO_USER;

return AUTHZ_DENIED;
}

Expand Down