Handle delay pipe message when there is no user yet
authorJamie Cameron <jcameron@webmin.com>
Thu, 4 Feb 2010 01:04:38 +0000 (17:04 -0800)
committerJamie Cameron <jcameron@webmin.com>
Thu, 4 Feb 2010 01:04:38 +0000 (17:04 -0800)
miniserv.pl

index 4cc35cb..9838537 100755 (executable)
@@ -1466,7 +1466,7 @@ if (%users) {
                                    "Password contains invalid characters");
                        }
 
-               if ($config{'passdelay'} && !$config{'inetd'}) {
+               if ($config{'passdelay'} && !$config{'inetd'} && $authuser) {
                        # check with main process for delay
                        print DEBUG "handle_request: about to ask for password delay\n";
                        print $PASSINw "delay $authuser $acptip $validated\n";