You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$io->note('The command will take care of generating a salt for you. Be aware that some encoders advise to let them generate their own salt. If you\'re using one of those encoders, please answer \'no\' to the question below. '.PHP_EOL.'Provide the \'empty-salt\' option in order to let the encoder handle the generation itself.');
119
+
$errorIo->note('The command will take care of generating a salt for you. Be aware that some encoders advise to let them generate their own salt. If you\'re using one of those encoders, please answer \'no\' to the question below. '.PHP_EOL.'Provide the \'empty-salt\' option in order to let the encoder handle the generation itself.');
118
120
119
-
if ($io->confirm('Confirm salt generation ?')) {
121
+
if ($errorIo->confirm('Confirm salt generation ?')) {
120
122
$salt = $this->generateSalt();
121
123
$emptySalt = false;
122
124
}
@@ -136,12 +138,12 @@ protected function execute(InputInterface $input, OutputInterface $output)
136
138
$io->table(array('Key', 'Value'), $rows);
137
139
138
140
if (!$emptySalt) {
139
-
$io->note(sprintf('Make sure that your salt storage field fits the salt length: %s chars', strlen($salt)));
141
+
$errorIo->note(sprintf('Make sure that your salt storage field fits the salt length: %s chars', strlen($salt)));
140
142
} elseif ($bcryptWithoutEmptySalt) {
141
-
$io->note('Bcrypt encoder used: the encoder generated its own built-in salt.');
143
+
$errorIo->note('Bcrypt encoder used: the encoder generated its own built-in salt.');
0 commit comments