diff --git a/web/pages/config-federation.tsx b/web/pages/config-federation.tsx index a13c0b5d8..17343d9e1 100644 --- a/web/pages/config-federation.tsx +++ b/web/pages/config-federation.tsx @@ -1,5 +1,5 @@ /* eslint-disable react/no-unescaped-entities */ -import { Typography, Modal, Button, Row, Col } from 'antd'; +import { Typography, Modal, Button, Row, Col, Alert } from 'antd'; import React, { useContext, useEffect, useState } from 'react'; import PropTypes from 'prop-types'; import { @@ -226,7 +226,26 @@ export default function ConfigFederation() { const hasInstanceUrl = instanceUrl !== ''; const isInstanceUrlSecure = instanceUrl.startsWith('https://'); - + const configurationWarning = !isInstanceUrlSecure && ( + <> + +
+ + + ); return (
Configure Social Features @@ -245,6 +264,7 @@ export default function ConfigFederation() {

+ {configurationWarning} -