From 74af7a92b6f0fe09ea10f9158e95e7c06c2103df Mon Sep 17 00:00:00 2001
From: "renater.salaun" <renater.salaun@047e039d-479c-447e-8a29-aa6bf4a09bab>
Date: Thu, 30 Oct 2014 14:40:29 +0000
Subject: [PATCH] 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
---
 templates/web/account_wizard.tt2.html | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/templates/web/account_wizard.tt2.html b/templates/web/account_wizard.tt2.html
index 44b26f7..3d6a8a5 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())
                 });
             }
-- 
GitLab