diff --git a/examples/remix-example/app/components/sign-in-card.tsx b/examples/remix-example/app/components/sign-in-card.tsx index 999f269b..7fd6fe76 100644 --- a/examples/remix-example/app/components/sign-in-card.tsx +++ b/examples/remix-example/app/components/sign-in-card.tsx @@ -18,6 +18,7 @@ import { Checkbox } from "~/components/ui/checkbox"; import { Input } from "~/components/ui/input"; import { Label } from "~/components/ui/label"; import { signIn } from "~/lib/auth-client"; +import { PasswordInput } from "./ui/password-input"; export default function SignInCard() { const [email, setEmail] = useState(""); @@ -58,13 +59,13 @@ export default function SignInCard() { Forgot your password? - {/* setPassword(e.target.value)} autoComplete="password" placeholder="Password" - /> */} + />
{ const baseURL = process.env.BETTER_AUTH_URL; const rpID = options?.rpID || - baseURL - ?.replace("http://", "") - .replace("https://", "") - .replace(":3000", "") || + baseURL?.replace("http://", "").replace("https://", "").split(":")[0] || "localhost"; if (!rpID) { throw new BetterAuthError(