Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions public/js/auth.js
Original file line number Diff line number Diff line change
Expand Up @@ -2969,6 +2969,9 @@ onAuthStateChanged(auth, async (user) => {
// The desktop app has no marketing landing: straight to sign-in (which keeps the
// no-account Test Mode entry for local tools).
if (isDesktop()) { dismissBoot(); renderAuth("signin"); return; }
// "Create a free account" in the guest Deck links /?signup=1: open the sign-up form.
let signup = false; try { signup = new URLSearchParams(location.search).get("signup") === "1"; } catch (_) {}
if (signup) { try { history.replaceState(history.state, "", "/"); } catch (_) {} dismissBoot(); renderAuth("signup"); return; }
showLanding(); return;
}
// An embedded tool (/<sec>?embed=1 inside the Deck) shares this tab's sessionStorage with
Expand Down
Loading
Loading