This commit is contained in:
Dan Poltawski
2016-12-19 08:47:21 +00:00
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -42,7 +42,7 @@ $string['auth_invalidnewemailkey'] = 'Error: if you are trying to confirm a chan
$string['auth_multiplehosts'] = 'Multiple hosts OR addresses can be specified (eg host1.com;host2.com;host3.com) or (eg xxx.xxx.xxx.xxx;xxx.xxx.xxx.xxx)';
$string['auth_notconfigured'] = 'The authentication method {$a} is not configured.';
$string['auth_outofnewemailupdateattempts'] = 'You have run out of allowed attempts to update your email address. Your update request has been cancelled.';
$string['auth_passwordisexpired'] = 'Your password has expired. Do you want to change your password now?';
$string['auth_passwordisexpired'] = 'Your password has expired. Please change it now.';
$string['auth_passwordwillexpire'] = 'Your password will expire in {$a} days. Do you want to change your password now?';
$string['auth_remove_delete'] = 'Full delete internal';
$string['auth_remove_keep'] = 'Keep internal';
+1
View File
@@ -233,6 +233,7 @@ if ($frm and isset($frm->username)) { // Login WITH
echo $OUTPUT->footer();
exit;
} elseif (intval($days2expire) < 0 ) {
set_user_preference('auth_forcepasswordchange', 1, $USER);
echo $OUTPUT->header();
echo $OUTPUT->confirm(get_string('auth_passwordisexpired', 'auth'), $passwordchangeurl, $urltogo);
echo $OUTPUT->footer();