@@ -373,6 +373,9 @@ class Application extends BaseApplication
public function resetComposer()
{
$this->composer = null;
+ if ($this->getIO() && method_exists($this->getIO(), 'resetAuthentications')) {
+ $this->getIO()->resetAuthentications();
+ }
}
/**
@@ -29,6 +29,14 @@ abstract class BaseIO implements IOInterface, LoggerInterface
return $this->authentications;
+ /**
+ * {@inheritDoc}
+ */
+ public function resetAuthentications()
+ {
+ $this->authentications = array();
+
* {@inheritDoc}
*/