Skip to content

Commit

Permalink
Add legacyHashes hint to the LoginSecurity converter #2449
Browse files Browse the repository at this point in the history
  • Loading branch information
sgdc3 committed Nov 28, 2021
1 parent 31564d8 commit 70db362
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ public void execute(CommandSender sender) {
try (Connection connection = createConnectionOrInformSender(sender)) {
if (connection != null) {
performConversion(sender, connection);
logger.info("LoginSecurity conversion completed! Please remember to set \"legacyHashes: ['BCRYPT']\" "
+ "in your configuration file!");
}
} catch (SQLException e) {
sender.sendMessage("Failed to convert from SQLite. Please see the log for more info");
Expand Down

0 comments on commit 70db362

Please sign in to comment.