Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
import { runWithAdal } from 'react-adal';
import { authContext } from './adalConfig';
// set to false after configuring environment variables and adalConfig.ts
const DO_NOT_LOGIN = true;
runWithAdal(
authContext,
() => {
require('app/App.tsx');
},
DO_NOT_LOGIN
);
import { runWithAdal } from 'react-adal';
import { authContext } from './adalConfig.js';
const DO_NOT_LOGIN = true;
runWithAdal(authContext, () => {
// eslint-disable-next-line
require('./indexApp.js');
}, DO_NOT_LOGIN);