diff --git a/src/keycloak-theme/login/pages/Terms.tsx b/src/keycloak-theme/login/pages/Terms.tsx index c4744cd..1405a33 100644 --- a/src/keycloak-theme/login/pages/Terms.tsx +++ b/src/keycloak-theme/login/pages/Terms.tsx @@ -40,9 +40,9 @@ export default function Terms(props: PageProps response.text()); + const markdownString = await fetch(tos_url).then(response => response.text()); - return tosRawMarkdown; + return markdownString; } });