diff --git a/app/scenes/Login/index.tsx b/app/scenes/Login/index.tsx
index 81adf346e..c4b408425 100644
--- a/app/scenes/Login/index.tsx
+++ b/app/scenes/Login/index.tsx
@@ -13,7 +13,6 @@ import Fade from "~/components/Fade";
import Flex from "~/components/Flex";
import Heading from "~/components/Heading";
import LoadingIndicator from "~/components/LoadingIndicator";
-import NoticeAlert from "~/components/NoticeAlert";
import OutlineLogo from "~/components/OutlineLogo";
import PageTitle from "~/components/PageTitle";
import TeamLogo from "~/components/TeamLogo";
@@ -109,7 +108,8 @@ function Login({ children }: Props) {
-
+ {t("Error")}
+
{t("Failed to load configuration.")}
{!isCloudHosted && (
@@ -118,7 +118,7 @@ function Login({ children }: Props) {
)}
)}
-
+
);
@@ -130,6 +130,26 @@ function Login({ children }: Props) {
return ;
}
+ const isCustomDomain = parseDomain(window.location.origin).custom;
+
+ // Unmapped custom domain
+ if (isCloudHosted && isCustomDomain && !config.name) {
+ return (
+
+
+
+
+ {t("Almost there")}…
+
+ {t(
+ "Your custom domain is successfully pointing at Outline. To complete the setup process please contact support."
+ )}
+
+
+
+ );
+ }
+
const hasMultipleProviders = config.providers.length > 1;
const defaultProvider = find(
config.providers,
@@ -168,7 +188,7 @@ function Login({ children }: Props) {
title={config.name ? `${config.name} – ${t("Login")}` : t("Login")}
/>
- {config.logo ? (
+ {config.logo && !isCreate ? (
) : (
diff --git a/shared/i18n/locales/en_US/translation.json b/shared/i18n/locales/en_US/translation.json
index f72730ed9..f18ba3b51 100644
--- a/shared/i18n/locales/en_US/translation.json
+++ b/shared/i18n/locales/en_US/translation.json
@@ -577,8 +577,12 @@
"Continue with {{ authProviderName }}": "Continue with {{ authProviderName }}",
"Back to home": "Back to home",
"Login": "Login",
+ "Error": "Error",
"Failed to load configuration.": "Failed to load configuration.",
"Check the network requests and server logs for full details of the error.": "Check the network requests and server logs for full details of the error.",
+ "Custom domain setup": "Custom domain setup",
+ "Almost there": "Almost there",
+ "Your custom domain is successfully pointing at Outline. To complete the setup process please contact support.": "Your custom domain is successfully pointing at Outline. To complete the setup process please contact support.",
"Check your email": "Check your email",
"A magic sign-in link has been sent to the email {{ emailLinkSentTo }} if an account exists.": "A magic sign-in link has been sent to the email {{ emailLinkSentTo }} if an account exists.",
"Back to login": "Back to login",