Skip to content

Commit

Permalink
Fixes lint errors
Browse files Browse the repository at this point in the history
Signed-off-by: Darshit Chanpura <[email protected]>
  • Loading branch information
DarshitChanpura committed Mar 12, 2024
1 parent 9d47261 commit d682701
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions common/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* permissions and limitations under the License.
*/

import { randomString } from "@hapi/cryptiles";
import { randomString } from '@hapi/cryptiles';

export const PLUGIN_ID = 'opensearchDashboardsSecurity';
export const PLUGIN_NAME = 'security-dashboards-plugin';
Expand All @@ -39,7 +39,7 @@ export const ANONYMOUS_AUTH_LOGIN = '/auth/anonymous';
const ANONYMOUS_AUTH_USER: string = 'opendistro_security_anonymous';
const RANDOM_PASS: string = randomString(12);
const ANONYMOUS_USER_PASS: string = `${ANONYMOUS_AUTH_USER}:${RANDOM_PASS}`;
export const ANONYMOUS_AUTH_HEADER = `Basic ${Buffer.from(ANONYMOUS_USER_PASS).toString('base64')}`
export const ANONYMOUS_AUTH_HEADER = `Basic ${Buffer.from(ANONYMOUS_USER_PASS).toString('base64')}`;

export const OPENID_AUTH_LOGOUT = '/auth/openid/logout';
export const SAML_AUTH_LOGOUT = '/auth/saml/logout';
Expand Down

0 comments on commit d682701

Please sign in to comment.