Skip to content

Commit

Permalink
fixing secondary credentials
Browse files Browse the repository at this point in the history
  • Loading branch information
jgowdyelastic committed Jul 13, 2020
1 parent 76423d3 commit f52200f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion x-pack/plugins/ml/server/lib/request_authorization.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@ import { KibanaRequest } from 'kibana/server';

export function getAuthorizationHeader(request: KibanaRequest) {
return {
headers: { authorization: request.headers.authorization },
headers: { 'es-secondary-authorization': request.headers.authorization },
};
}

0 comments on commit f52200f

Please sign in to comment.