diff --git a/templates.php b/templates.php index 8c5ddea9deb36293343f9de310f2ded2addd3e8a..253a588bc0c8db8c4bfe281f136ee92c9acc8e3d 100755 --- a/templates.php +++ b/templates.php @@ -1024,7 +1024,7 @@ function getGETArgument(name){ // Old Shibboleth WAYF protocol wayf_authReq_URL = wayf_URL; wayf_authReq_URL += '?providerId=' + encodeURIComponent(wayf_sp_entityID); - wayf_authReq_URL += '&target=' + encodeURIComponent(return_url); + wayf_authReq_URL += '&target=' + encodeURIComponent(wayf_return_url); wayf_authReq_URL += '&shire=' + encodeURIComponent(wayf_sp_samlACURL); wayf_authReq_URL += '&time={$utcTime}'; }