diff --git a/templates/web/account_wizard.tt2.html b/templates/web/account_wizard.tt2.html
index a57cab6e9a13fff116243e7880d6febd7662d142..d50843b6c15d42a6455ad35284e0080dc7f7e951 100644
--- a/templates/web/account_wizard.tt2.html
+++ b/templates/web/account_wizard.tt2.html
@@ -35,7 +35,7 @@ jQuery(document).ready(function($){
                     title: "Validate challenge",
                     contentMode: "async",
                     contentUrl: "https://dev-edugain.renater.fr/accountmanager?action=generate_token&style=nobanner&sp_entityid="+
-                        encodeURIComponent($('#sp_entityid').val())+"&email_address="+encodeURIComponent($('#email_address').val())
+                        encodeURIComponent($('#sp_entityid').val())+"&email_address="+encodeURIComponent($("input:checked[name='email_address']").val())
                 });
             }