diff --git a/src/components/LoginPage.js b/src/components/LoginPage.js index 19280b3..a720904 100644 --- a/src/components/LoginPage.js +++ b/src/components/LoginPage.js @@ -6,6 +6,7 @@ import { useLocale, useSetLocale, useTranslate, + BooleanInput, } from "react-admin"; import { Field, Form } from "react-final-form"; import { @@ -71,6 +72,7 @@ const LoginPage = ({ theme }) => { const setLocale = useSetLocale(); const translate = useTranslate(); const homeserver = localStorage.getItem("base_url"); + const force_server = localStorage.getItem("force_server"); const renderInput = ({ meta: { touched, error } = {}, @@ -117,7 +119,7 @@ const LoginPage = ({ theme }) => { return (