Add algorithm prefix to encoded password
Update the CLI encodepassword command to also include the algorithm prefix. Closes gh-11875
This commit is contained in:
@@ -100,7 +100,7 @@ public class EncodePasswordCommand extends OptionParsingCommand {
|
||||
.collectionToCommaDelimitedString(ENCODERS.keySet()));
|
||||
return ExitStatus.ERROR;
|
||||
}
|
||||
Log.info(encoder.get().encode(password));
|
||||
Log.info("{" + algorithm + "}" + encoder.get().encode(password));
|
||||
return ExitStatus.OK;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user