MDL-9399 auth/ldap: NTLM SSO - fix hardcoded strings
From Iñaki Arenaza And here is a little patch with the last remaining non-traslated strings (unless I missed something).
This commit is contained in:
@@ -23,7 +23,7 @@ if (empty($authplugin->config->ntlmsso_enabled)) {
|
||||
$sesskey = sesskey();
|
||||
|
||||
//print_header("$site->fullname: $loginsite", $site->fullname, $loginsite, $focus, '', true);
|
||||
$msg = '<p>Attempting SSO...</p>'
|
||||
$msg = '<p>'.get_string('ntlmsso_attempting','auth').'</p>'
|
||||
. '<img width="1", height="1" '
|
||||
. ' src="' . $CFG->wwwroot . '/auth/ldap/ntlmsso_magic.php?sesskey='
|
||||
. $sesskey . '" />';
|
||||
|
||||
@@ -25,6 +25,6 @@ if (empty($authplugin->config->ntlmsso_enabled)) {
|
||||
if (!$authplugin->ntlmsso_finish()) {
|
||||
// Redirect to login, saying "don't try again!"
|
||||
redirect($CFG->wwwroot . '/login/index.php?authldap_skipntlmsso=1',
|
||||
"Single Sign On failed, proceed to normal login", 3);
|
||||
get_string('ntlmsso_failed','auth'), 3);
|
||||
}
|
||||
?>
|
||||
Reference in New Issue
Block a user