We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 9f5852c + b9cda91 commit 28c3de0Copy full SHA for 28c3de0
inc/auth.php
@@ -47,6 +47,11 @@ function auth_setup()
47
global $plugin_controller;
48
$AUTH_ACL = [];
49
50
+ // unset REMOTE_USER if empty
51
+ if ($INPUT->server->str('REMOTE_USER') === '') {
52
+ $INPUT->server->remove('REMOTE_USER');
53
+ }
54
+
55
if (!$conf['useacl']) return false;
56
57
// try to load auth backend from plugins
0 commit comments