mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
Merge branch 'MDL-58899-master' of https://github.com/snake/moodle
This commit is contained in:
commit
0e01f68e3c
@ -85,7 +85,7 @@ if ($confirmed == AUTH_CONFIRM_ALREADY) {
|
||||
echo $OUTPUT->footer();
|
||||
exit;
|
||||
} else {
|
||||
print_error('invalidconfirmdata');
|
||||
\core\notification::error(get_string('confirmationinvalid', 'auth_oauth2'));
|
||||
}
|
||||
|
||||
redirect("$CFG->wwwroot/");
|
||||
|
@ -72,7 +72,7 @@ if ($confirmed) {
|
||||
echo $OUTPUT->footer();
|
||||
exit;
|
||||
} else {
|
||||
print_error('invalidconfirmdata');
|
||||
\core\notification::error(get_string('confirmationinvalid', 'auth_oauth2'));
|
||||
}
|
||||
|
||||
redirect("$CFG->wwwroot/");
|
||||
|
@ -42,6 +42,7 @@ line at the top of your web browser window.
|
||||
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},
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user