Fix Docker signup and document deploy, migrate, and rebuild flow.

Use FormData and server-side sign-in after register, trust proxy origins for reverse-proxy deploys, pass public URL build args in Docker, and clarify that git pull plus up -d --build is required to ship code and run pending migrations.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-06-26 01:06:10 -04:00
co-authored by Cursor
parent eb9548b832
commit 158b9416bf
11 changed files with 151 additions and 63 deletions
+5 -1
View File
@@ -36,7 +36,11 @@ export function SignInForm({ allowRegistration }: SignInFormProps) {
setLoading(false);
if (error) {
toast.error(error.message ?? "Invalid email or password");
toast.error(
error.message && error.message !== "Required"
? error.message
: "Invalid email or password",
);
} else {
toast.success("Signed in successfully!");
router.push(callbackUrl);