Skip to content
Snippets Groups Projects
Commit c190392c authored by Olav Morken's avatar Olav Morken
Browse files

core:UserPassOrgBase: Unset "remember username"-options when parsing config.

Thanks to Ryan Panning for providing this patch!

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@3106 44740490-163a-0410-bde0-09ae8108e29a
parent f2c3eadc
No related branches found
No related tags found
No related merge requests found
......@@ -78,9 +78,11 @@ abstract class sspmod_core_Auth_UserPassOrgBase extends SimpleSAML_Auth_Source {
// Get the remember username config options
if (isset($config['remember.username.enabled'])) {
$this->rememberUsernameEnabled = (bool) $config['remember.username.enabled'];
unset($config['remember.username.enabled']);
}
if (isset($config['remember.username.checked'])) {
$this->rememberUsernameChecked = (bool) $config['remember.username.checked'];
unset($config['remember.username.checked']);
}
$this->usernameOrgMethod = 'none';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment