Prechádzať zdrojové kódy

Add message when SMS authentication code is required

Chris Smith 11 rokov pred
rodič
commit
bcee7a04ee
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      src/Composer/Util/GitHub.php

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

@@ -140,7 +140,7 @@ class GitHub
                                 }
                                 }
 
 
                                 if ('sms' === $method) {
                                 if ('sms' === $method) {
-                                    // @todo
+                                    $this->io->write('You have been sent an SMS message with an authentication code to verify your identity.');
                                 }
                                 }
 
 
                                 $otp = $this->io->ask('Authentication Code: ');
                                 $otp = $this->io->ask('Authentication Code: ');