diff --git a/webapp/packages/plugin-authentication/src/Dialog/AuthDialog.tsx b/webapp/packages/plugin-authentication/src/Dialog/AuthDialog.tsx index 2cbfaaadd3..54e5e0b4bb 100644 --- a/webapp/packages/plugin-authentication/src/Dialog/AuthDialog.tsx +++ b/webapp/packages/plugin-authentication/src/Dialog/AuthDialog.tsx @@ -236,34 +236,31 @@ export const AuthDialog: DialogComponent = observer(function )} - {/* TODO should we always display footer for both: local and federated? */} - {(!federate || (federate && state.isTooManySessions)) && ( - - - {state.isTooManySessions && ( - { - state.setForceSessionsLogout(e.currentTarget.checked); - }} + + + {state.isTooManySessions && ( + { + state.setForceSessionsLogout(e.currentTarget.checked); + }} + /> + )} + login(linkUser)}> + {errorDetails.name && ( + )} - login(linkUser)}> - {errorDetails.name && ( - - )} - - - - )} + + + );