Support Single Sign-On when REMOTE_USER environment variable contains user@domain
I am using mod_auth_kerb for SPNEGO based SSO. This sets the REMOTE_USER to user@domain.
I have worked around this by adding the following lines to wpmuLdapSSOGetUsername()
if (strpos($username, '@') !== FALSE) {
$username = substr($username, 0, strpos($username, '@'));
}
Please consider including this in the codebase
6
votes
