[bin/grav newuser] Hide input when prompting for password (Fixes #307)

This commit is contained in:
Timm Albers
2015-09-07 18:10:51 +02:00
parent 6215f148b5
commit e494c87e28

View File

@@ -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