Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
Signed-off-by: Derek Ho <dxho@amazon.com>
  • Loading branch information
derek-ho committed Feb 13, 2024
1 parent 364827f commit 8e3f434
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions server/auth/types/multiple/multi_auth.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,10 @@ import {
LifecycleResponseFactory,
AuthToolkit,
} from '../../../../opensearch-dashboards/server';
import { OpenSearchDashboardsRequest, OpenSearchDashboardsResponse } from '../../../../../../src/core/server/http/router';
import {
OpenSearchDashboardsRequest,
OpenSearchDashboardsResponse,
} from '../../../../../../src/core/server/http/router';
import { SecurityPluginConfigType } from '../../..';
import { AuthenticationType, IAuthenticationType } from '../authentication_type';
import { ANONYMOUS_AUTH_LOGIN, AuthType, LOGIN_PAGE_URI } from '../../../../common';
Expand Down Expand Up @@ -135,7 +138,7 @@ export class MultipleAuthentication extends AuthenticationType {
const reqAuthType = cookie?.authType?.toLowerCase();

if (reqAuthType && this.authHandlers.has(reqAuthType)) {
return this.authHandlers.get(reqAuthType)!.supportsKeepAlive(request)
return this.authHandlers.get(reqAuthType)!.supportsKeepAlive(request);
} else {
// default to true
return true;
Expand Down

0 comments on commit 8e3f434

Please sign in to comment.