mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
MDL-41598 auth_shibboleth: don't override wantsurl
This commit is contained in:
parent
692d247a3a
commit
f09afcdd28
@ -8,7 +8,7 @@
|
||||
|
||||
// Support for WAYFless URLs.
|
||||
$target = optional_param('target', '', PARAM_LOCALURL);
|
||||
if (!empty($target)) {
|
||||
if (!empty($target) && empty($SESSION->wantsurl)) {
|
||||
$SESSION->wantsurl = $target;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user