浏览代码

make user command, made password field invis

AVMG20 3 年之前
父节点
当前提交
cd4a01db7b
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/Console/Commands/MakeUserCommand.php

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

@@ -46,7 +46,7 @@ class MakeUserCommand extends Command
     public function handle()
     {
         $ptero_id = $this->option('ptero_id') ?? $this->ask('Please specify your Pterodactyl ID.');
-        $password = $this->option('password') ?? $this->ask('Please specify your password.');
+        $password = $this->secret('password') ?? $this->ask('Please specify your password.');
 
         // Validate user input
         $validator = Validator::make([