Skip to content
Snippets Groups Projects
Commit 6e21c9de authored by David Petit's avatar David Petit Committed by John Barclay
Browse files

Issue #2144687 for empty drupal user.

parent 1d3536d1
No related branches found
No related tags found
No related merge requests found
......@@ -335,7 +335,9 @@ function ldap_sso_user_login_sso() {
}
}
else {
watchdog('ldap_authentication', '$_SERVER[\'REMOTE_USER\'] not found', array(), WATCHDOG_DEBUG);
if ($detailed_watchdog_log) {
watchdog('ldap_authentication', '$_SERVER[\'REMOTE_USER\'] not found', array(), WATCHDOG_DEBUG);
}
if ($auth_conf->seamlessLogin == 1) {
setcookie("seamless_login", 'do not auto login', time() + $auth_conf->cookieExpire, base_path(), "");
ldap_servers_set_globals('_SESSION', 'seamless_login', 'do not auto login');
......
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