Przeglądaj źródła

Update FixUsernames command to skip action by default

Daniel Supernault 6 lat temu
rodzic
commit
1f8fd484f7
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1 1
      app/Console/Commands/FixUsernames.php

+ 1 - 1
app/Console/Commands/FixUsernames.php

@@ -71,7 +71,7 @@ class FixUsernames extends Command
             foreach($affected as $u) {
                 $old = $u->username;
                 $this->info("Found user: {$old}");
-                $opt = $this->choice('Select fix method:', $opts, 0);
+                $opt = $this->choice('Select fix method:', $opts, 3);
 
                 switch ($opt) {
                     case $opts[0]: