mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
MDL-49360 core_lib: fix typo on auth_ldap
This commit is contained in:
parent
8a53c3f433
commit
25565918d9
@ -1654,7 +1654,7 @@ class auth_plugin_ldap extends auth_plugin_base {
|
||||
// First, let's remember where we were trying to get to before we got here
|
||||
if (empty($SESSION->wantsurl)) {
|
||||
$SESSION->wantsurl = null;
|
||||
$referer = get_safe_referer(false);
|
||||
$referer = get_local_referer(false);
|
||||
if ($referer &&
|
||||
$referer != $CFG->wwwroot &&
|
||||
$referer != $CFG->wwwroot . '/' &&
|
||||
|
Loading…
x
Reference in New Issue
Block a user