diff --git a/spiffworkflow-frontend/src/routes/Login.tsx b/spiffworkflow-frontend/src/routes/Login.tsx index 0c7801dfa..8d0ca3a05 100644 --- a/spiffworkflow-frontend/src/routes/Login.tsx +++ b/spiffworkflow-frontend/src/routes/Login.tsx @@ -1,6 +1,6 @@ import { ArrowRight } from '@carbon/icons-react'; import { useEffect, useState } from 'react'; -import { Button, Grid, Column } from '@carbon/react'; +import { Loading, Button, Grid, Column } from '@carbon/react'; import { useSearchParams } from 'react-router-dom'; import { AuthenticationOption } from '../interfaces'; import HttpService from '../services/HttpService'; @@ -23,13 +23,6 @@ export default function Login() { return null; } const buttons: any = []; - if (authenticationOptions.length === 1) { - UserService.doLogin( - authenticationOptions[0], - searchParams.get('original_url') - ); - return null; - } authenticationOptions.forEach((option: AuthenticationOption) => { buttons.push(