Explorar o código

Update FixUsernames command to skip action by default

Daniel Supernault %!s(int64=6) %!d(string=hai) anos
pai
achega
1f8fd484f7
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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]: