Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge branch 'w07_MDL-26376_20_shib' of git://github.com/skodak/moodle

  • Loading branch information...
commit 2e6bd88f3b25fcfe23ae92a53abe405b2d6b7f53 2 parents 42bdecd + cd138b2
@stronk7 stronk7 authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 auth/shibboleth/auth.php
View
4 auth/shibboleth/auth.php
@@ -242,7 +242,7 @@ function process_config($config) {
// set to defaults if undefined
if (!isset($config->auth_instructions) or empty($config->user_attribute)) {
- $config->auth_instructions = get_string('shibboleth_instructions', 'auth', $CFG->wwwroot.'/auth/shibboleth/index.php');
+ $config->auth_instructions = get_string('auth_shib_instructions', 'auth_shibboleth', $CFG->wwwroot.'/auth/shibboleth/index.php');
}
if (!isset ($config->user_attribute)) {
$config->user_attribute = '';
@@ -292,7 +292,7 @@ function process_config($config) {
} else {
// Check if integrated WAYF was enabled and is now turned off
// If it was and only then, reset the Moodle alternate URL
- if ($this->config->alt_login == 'on'){
+ if (isset($this->config->alt_login) and $this->config->alt_login == 'on'){
set_config('alt_login', 'off', 'auth/shibboleth');
set_config('alternateloginurl', '');
}
Please sign in to comment.
Something went wrong with that request. Please try again.