Tu Nombre commited on
Commit
ab84641
·
1 Parent(s): caa0844

redirect a mi-cuenta tras crear

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -562,7 +562,7 @@ async function activar(){
562
  const d = await r.json();
563
  if(d.url){
564
  const emailVal = document.getElementById("email").value.trim();
565
- window.location.href = "/esperando?url=" + encodeURIComponent(d.url) + "&email=" + encodeURIComponent(emailVal);
566
  } else {
567
  document.getElementById('btn').disabled = false;
568
  }
 
562
  const d = await r.json();
563
  if(d.url){
564
  const emailVal = document.getElementById("email").value.trim();
565
+ window.location.href = "/mi-cuenta?email=" + encodeURIComponent(emailVal);
566
  } else {
567
  document.getElementById('btn').disabled = false;
568
  }