Browse Source

Updated AuthHelper to pass a null for maximum attempts to the IOInterface instead of false so an exception is not thrown by Symfony Question class.

Daum 10 years ago
parent
commit
aa4afbf49f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Composer/Util/AuthHelper.php

+ 1 - 1
src/Composer/Util/AuthHelper.php

@@ -45,7 +45,7 @@ class AuthHelper
                     }
                     throw new \RuntimeException('Please answer (y)es or (n)o');
                 },
-                false,
+                null,
                 'y'
             );