Skip to content

Commit

Permalink
Do not store session cookie when using basic auth headers
Browse files Browse the repository at this point in the history
  • Loading branch information
epixa committed Nov 20, 2018
1 parent 5a038ed commit d595fd2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ export class BasicAuthenticationProvider {

this._options.log(['debug', 'security', 'basic'], 'Request has been authenticated via header.');

return AuthenticationResult.succeeded(user, { authorization });
return AuthenticationResult.succeeded(user);
} catch(err) {
this._options.log(['debug', 'security', 'basic'], `Failed to authenticate request via header: ${err.message}`);
return AuthenticationResult.failed(err);
Expand Down

0 comments on commit d595fd2

Please sign in to comment.