diff --git a/templates/web/account_wizard.tt2.html b/templates/web/account_wizard.tt2.html index 44b26f785049db2ea32389e40e23ad37fb839329..3d6a8a5a0466211a5b3f0642353c784143ac6df0 100644 --- a/templates/web/account_wizard.tt2.html +++ b/templates/web/account_wizard.tt2.html @@ -21,7 +21,7 @@ jQuery(document).ready(function($){ form.steps("insert", 1, { title: "Send email challenge", contentMode: "async", - contentUrl: "https://dev-edugain.renater.fr/accountmanager?action=select_sp&style=nobanner&sp_entityid="+ + contentUrl: "[% conf.app_url %]?action=select_sp&style=nobanner&sp_entityid="+ encodeURIComponent($('#sp_entityid').val()) }); } @@ -34,7 +34,7 @@ jQuery(document).ready(function($){ form.steps("insert", 2, { title: "Complete Email Challenge", contentMode: "async", - contentUrl: "https://dev-edugain.renater.fr/accountmanager?action=generate_token&style=nobanner&sp_entityid="+ + contentUrl: "[% conf.app_url %]?action=generate_token&style=nobanner&sp_entityid="+ encodeURIComponent($('#sp_entityid').val())+"&email_address="+encodeURIComponent($("input:checked[name='email_address']").val()) }); } @@ -47,7 +47,7 @@ jQuery(document).ready(function($){ form.steps("insert", 3, { title: "Test Accounts", contentMode: "async", - contentUrl: "https://dev-edugain.renater.fr/accountmanager?action=validate_token&style=nobanner&sp_entityid="+ + contentUrl: "[% conf.app_url %]?action=validate_token&style=nobanner&sp_entityid="+ encodeURIComponent($('#sp_entityid').val())+"&authentication_token="+encodeURIComponent($('#authentication_token').val()) }); }