mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
fix for old email confirmation - spotted by Dirk Grunwald; merged from MOODLE_16_STABLE
This commit is contained in:
parent
d43d749a1b
commit
f50c2b4ee0
1 changed files with 2 additions and 2 deletions
|
@ -5,8 +5,8 @@
|
|||
|
||||
$data = optional_param('data', '', PARAM_CLEAN); // Formatted as: secret/username
|
||||
|
||||
$p = optional_param('p', '', PARAM_ALPHA); // Old parameter: secret
|
||||
$s = optional_param('s', '', PARAM_CLEAN); // Old parameter: username
|
||||
$p = optional_param('p', '', PARAM_ALPHANUM); // Old parameter: secret
|
||||
$s = optional_param('s', '', PARAM_CLEAN); // Old parameter: username
|
||||
|
||||
if (!empty($data) || (!empty($p) && !empty($s))) {
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue