mirror of
https://github.com/getgrav/grav.git
synced 2026-05-05 19:35:32 +02:00
[bin/grav newuser] Hide input when prompting for password (Fixes #307)
This commit is contained in:
@@ -73,6 +73,8 @@ class NewUserCommand extends Command
|
||||
}
|
||||
return $value;
|
||||
});
|
||||
$question->setHidden(true);
|
||||
$question->setHiddenFallback(false);
|
||||
$data['password'] = $helper->ask($this->input, $this->output, $question);
|
||||
|
||||
// Get email and validate
|
||||
|
||||
Reference in New Issue
Block a user