Skip to content

Commit

Permalink
fix for old email confirmation - spotted by Dirk Grunwald; merged fro…
Browse files Browse the repository at this point in the history
…m MOODLE_16_STABLE
  • Loading branch information
skodak committed Sep 20, 2006
1 parent d43d749 commit f50c2b4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions login/confirm.php
Original file line number Diff line number Diff line change
Expand Up @@ -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))) {

Expand Down

0 comments on commit f50c2b4

Please sign in to comment.