diff --git a/docker/build/deb-rust-sncf/link.html b/docker/build/deb-rust-sncf/link.html index 422b4f9..e4055cb 100644 --- a/docker/build/deb-rust-sncf/link.html +++ b/docker/build/deb-rust-sncf/link.html @@ -33,11 +33,12 @@ btn2.addEventListener('click', function() { var email = document.getElementById("email").value; + var adtok = document.getElementById("link").value; console.log(email); /* var emailjsonstring = JSON.stringify(JSON.parse(document.getElementById('email'))); */ var xhr1=new XMLHttpRequest(); xhr1.open("POST",'link/email', true); - xhr1.send(email); + xhr1.send(email + ',' + adtok); @@ -77,7 +78,7 @@

- send link to mail + register via email