diff --git a/lib/WebGUI.pm b/lib/WebGUI.pm index d098a42b4..b0aa309da 100644 --- a/lib/WebGUI.pm +++ b/lib/WebGUI.pm @@ -171,9 +171,9 @@ sub handler { # Get the type of authorization required for this request (the per # directory configuration directive AuthType): my $auth = $request->auth_type; - if ($auth eq "Basic") { # machine oriented - # Get username and password from Apache and hand over to authen, Basic - # Auth for WebGUI + + if ($auth =~ m/^Basic/) { # machine oriented + # Get username and password from Apache and hand over to authen my $basicAuthUser = $request->get_remote_logname; my $basicAuthPass = $request->get_basic_auth_pw; authen($request, $basicAuthUser, $basicAuthPass, $config);