浏览代码

Update FixUsernames command to skip action by default

Daniel Supernault 6 年之前
父节点
当前提交
1f8fd484f7
共有 1 个文件被更改,包括 1 次插入1 次删除
  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]: