MDL-41598 auth_shibboleth: don't override wantsurl

This commit is contained in:
Charles Fulton
2015-07-27 15:25:15 +01:00
committed by Dan Poltawski
parent 0d8674d771
commit 3a68038421
+1 -1
View File
@@ -10,7 +10,7 @@
// Support for WAYFless URLs.
$target = optional_param('target', '', PARAM_LOCALURL);
if (!empty($target)) {
if (!empty($target) && empty($SESSION->wantsurl)) {
$SESSION->wantsurl = $target;
}