Skip to content

Commit

Permalink
MDL-7647 confirmation email - usernames with slashes causing confirma…
Browse files Browse the repository at this point in the history
…tion problems ; backported from 19_STABLE
  • Loading branch information
stronk7 committed Feb 10, 2010
1 parent b14560e commit 6e15bd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion login/confirm.php
Expand Up @@ -19,7 +19,7 @@
if (!empty($data) || (!empty($p) && !empty($s))) {

if (!empty($data)) {
$dataelements = explode('/',$data);
$dataelements = explode('/',$data, 2); // Stop after 1st slash. Rest is username. MDL-7647
$usersecret = $dataelements[0];
$username = $dataelements[1];
} else {
Expand Down

0 comments on commit 6e15bd0

Please sign in to comment.