Browse Source

make user command, made password field invis

AVMG20 3 years ago
parent
commit
cd4a01db7b
1 changed files with 1 additions and 1 deletions
  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([