Skip to content
Snippets Groups Projects
Commit 74af7a92 authored by renater.salaun's avatar renater.salaun
Browse files

Replace hard-coded URLs with [% conf.app_url %]

git-svn-id: https://svn.geant.net/GEANT/edugain_testidp_account_manager/trunk@57 047e039d-479c-447e-8a29-aa6bf4a09bab
parent 4d5e702f
No related branches found
No related tags found
No related merge requests found
......@@ -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())
});
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment