diff --git a/admin/public/instance/plane-instance-not-ready.webp b/admin/public/instance/plane-instance-not-ready.webp deleted file mode 100644 index a0efca52c..000000000 Binary files a/admin/public/instance/plane-instance-not-ready.webp and /dev/null differ diff --git a/apiserver/plane/authentication/views/app/magic.py b/apiserver/plane/authentication/views/app/magic.py index 8ad71dea0..27e0b1bd6 100644 --- a/apiserver/plane/authentication/views/app/magic.py +++ b/apiserver/plane/authentication/views/app/magic.py @@ -188,7 +188,7 @@ class MagicSignUpEndpoint(View): return HttpResponseRedirect(url) # Existing user existing_user = User.objects.filter(email=email).first() - if not existing_user: + if existing_user: exc = AuthenticationException( error_code=AUTHENTICATION_ERROR_CODES["USER_ALREADY_EXIST"], error_message="USER_ALREADY_EXIST", diff --git a/space/components/instance/not-ready-view.tsx b/space/components/instance/not-ready-view.tsx index 9f624f785..e9b472960 100644 --- a/space/components/instance/not-ready-view.tsx +++ b/space/components/instance/not-ready-view.tsx @@ -2,30 +2,56 @@ import { FC } from "react"; import Image from "next/image"; +import { useTheme } from "next-themes"; // ui import { Button } from "@plane/ui"; // helper import { GOD_MODE_URL } from "@/helpers/common.helper"; // images import PlaneTakeOffImage from "@/public/instance/plane-takeoff.png"; +import PlaneBackgroundPatternDark from "public/auth/background-pattern-dark.svg"; +import PlaneBackgroundPattern from "public/auth/background-pattern.svg"; +import BluePlaneLogoWithoutText from "public/plane-logos/blue-without-text.png"; -export const InstanceNotReady: FC = () => ( -
- Get started by setting up your instance and workspace -
-+ Get started by setting up your instance and workspace +
+- Get started by setting up your instance and workspace -
+export const InstanceNotReady: FC = () => { + const { resolvedTheme } = useTheme(); + const patternBackground = resolvedTheme === "dark" ? PlaneBackgroundPatternDark : PlaneBackgroundPattern; + + return ( +