diff --git a/app/scenes/Login/components/LoginDialog.tsx b/app/scenes/Login/components/LoginDialog.tsx index 78767b921e..90c058f667 100644 --- a/app/scenes/Login/components/LoginDialog.tsx +++ b/app/scenes/Login/components/LoginDialog.tsx @@ -39,7 +39,10 @@ export function LoginDialog() { maxLength={255} autoComplete="off" placeholder={t("subdomain")} - {...register("subdomain", { required: true, pattern: /^[a-z\d-]{1,63}$/ })} + {...register("subdomain", { + required: true, + pattern: /^[a-z\d-]{1,63}$/, + })} > .getoutline.com diff --git a/app/scenes/Login/urls.ts b/app/scenes/Login/urls.ts index b63f37f27e..81a3fd92e1 100644 --- a/app/scenes/Login/urls.ts +++ b/app/scenes/Login/urls.ts @@ -11,6 +11,7 @@ function validateAndEncodeSubdomain(subdomain: string): string { } return `https://${encodedSubdomain}.getoutline.com`; } + /** * If we're on a custom domain or a subdomain then the auth must point to the * apex (env.URL) for authentication so that the state cookie can be set and read. diff --git a/shared/i18n/locales/en_US/translation.json b/shared/i18n/locales/en_US/translation.json index 8fbf8b128e..69080e8369 100644 --- a/shared/i18n/locales/en_US/translation.json +++ b/shared/i18n/locales/en_US/translation.json @@ -520,7 +520,6 @@ "Groups": "Groups", "Shared Links": "Shared Links", "Import": "Import", - "Self Hosted": "Self Hosted", "Integrations": "Integrations", "Revoke token": "Revoke token", "Revoke": "Revoke", @@ -1045,10 +1044,6 @@ "Allow editors to create new collections within the workspace": "Allow editors to create new collections within the workspace", "Workspace creation": "Workspace creation", "Allow editors to create new workspaces": "Allow editors to create new workspaces", - "Draw.io deployment": "Draw.io deployment", - "Add your self-hosted draw.io installation url here to enable automatic embedding of diagrams within documents.": "Add your self-hosted draw.io installation url here to enable automatic embedding of diagrams within documents.", - "Grist deployment": "Grist deployment", - "Add your self-hosted grist installation URL here.": "Add your self-hosted grist installation URL here.", "Could not load shares": "Could not load shares", "Sharing is currently disabled.": "Sharing is currently disabled.", "You can globally enable and disable public document sharing in the security settings.": "You can globally enable and disable public document sharing in the security settings.",