소스 검색

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]: