diff --git a/config-templates/authsources.php b/config-templates/authsources.php index 0ba9c7eac8a0e1e1b88284dbfe3359709a1e6c3f..643c33221fd9095dd5aa14a4b511cf26c792bb89 100644 --- a/config-templates/authsources.php +++ b/config-templates/authsources.php @@ -355,8 +355,8 @@ $config = array( //'remember.username.checked' => FALSE, // Give the user an option to save their organization choice for future login - // attempts. And when enabled, what should the default be, checked or not. - //'remember.organization.enabled' => false, + // attempts. And when enabled, what should the default be, checked or not. + //'remember.organization.enabled' => false, //'remember.organization.checked' => false, // The way the organization as part of the username should be handled. diff --git a/modules/core/lib/Auth/UserPassOrgBase.php b/modules/core/lib/Auth/UserPassOrgBase.php index 15351edc34e1ac9f46e31e577cae8352ced62384..ad15f86b3773ae53c62727b0d6e21e4be0084934 100644 --- a/modules/core/lib/Auth/UserPassOrgBase.php +++ b/modules/core/lib/Auth/UserPassOrgBase.php @@ -158,7 +158,8 @@ abstract class sspmod_core_Auth_UserPassOrgBase extends SimpleSAML_Auth_Source { * Getter for the authsource config option remember.username.checked * @return bool */ - public function getRememberUsernameChecked() { + public function getRememberUsernameChecked() + { return $this->rememberUsernameChecked; } @@ -166,7 +167,8 @@ abstract class sspmod_core_Auth_UserPassOrgBase extends SimpleSAML_Auth_Source { * Getter for the authsource config option remember.organization.enabled * @return bool */ - public function getRememberOrganizationEnabled() { + public function getRememberOrganizationEnabled() + { return $this->rememberOrganizationEnabled; }