Skip to content

Commit

Permalink
fix: change options in the right object
Browse files Browse the repository at this point in the history
  • Loading branch information
cyrng committed Oct 16, 2024
1 parent 4acefe8 commit d193eda
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/controllers/Auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -510,9 +510,8 @@ export class AuthController extends BaseController {
{
action: "logout",
cookieAuth: this.kuzzle.cookieAuthentication,
...options,
},
{ queuable: false, timeout: -1 }
{ queuable: false, timeout: -1, ...options }
);
this._authenticationToken = null;
/**
Expand Down

0 comments on commit d193eda

Please sign in to comment.