Skip to content

Commit

Permalink
Merge branch 'MDL-58899-master' of https://github.com/snake/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
junpataleta committed May 12, 2017
2 parents 3227ac8 + 5ffe41b commit 0e01f68
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion auth/oauth2/confirm-account.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
echo $OUTPUT->footer();
exit;
} else {
print_error('invalidconfirmdata');
\core\notification::error(get_string('confirmationinvalid', 'auth_oauth2'));
}

redirect("$CFG->wwwroot/");
2 changes: 1 addition & 1 deletion auth/oauth2/confirm-linkedlogin.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
echo $OUTPUT->footer();
exit;
} else {
print_error('invalidconfirmdata');
\core\notification::error(get_string('confirmationinvalid', 'auth_oauth2'));
}

redirect("$CFG->wwwroot/");
1 change: 1 addition & 0 deletions auth/oauth2/lang/en/auth_oauth2.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
If you need help, please contact the site administrator,
{$a->admin}';
$string['confirmaccountemailsubject'] = '{$a}: account confirmation';
$string['confirmationinvalid'] = 'The confirmation link is either invalid, or has expired. Please start the login process again to generate a new confirmation email.';
$string['confirmationpending'] = 'This account is pending email confirmation.';
$string['confirmlinkedloginemail'] = 'Hi {$a->fullname},
Expand Down

0 comments on commit 0e01f68

Please sign in to comment.