diff --git a/frontend/becario.html b/frontend/becario.html index e708c4e..6c111f7 100644 --- a/frontend/becario.html +++ b/frontend/becario.html @@ -75,7 +75,9 @@ const ErrorBar = ({ error, onClose }) => !error ? null : ( // ═══════════════ Login / Registro ═══════════════ function Acceso({ onEntra }) { - const [modo, setModo] = useState("login"); + const [modo, setModo] = useState(() => + new URLSearchParams(window.location.search).get("registro") === "1" ? "registro" : "login" + ); const [f, setF] = useState({ telefono: "", password: "", nombre: "" }); const [error, setError] = useState(null); const [busy, setBusy] = useState(false); diff --git a/frontend/checada.html b/frontend/checada.html index c8eadf4..56375f2 100644 --- a/frontend/checada.html +++ b/frontend/checada.html @@ -94,7 +94,7 @@ function LoginInline({ onEntra }) { {busy ? "…" : "Entrar"}

- ¿No tienes cuenta? Regístrate + ¿No tienes cuenta? Regístrate

);