Remove old backwards compatibility

This commit is contained in:
robert 2021-01-27 13:49:34 +00:00
parent 32ab58d331
commit 4ffa3e6636

View File

@ -143,10 +143,6 @@ namespace MCGalaxy.Commands.Moderation {
#endif
static byte[] ComputeHash(string name, string pass) {
// Pointless, but kept for backwards compatibility
pass = pass.Replace("<", "(");
pass = pass.Replace(">", ")");
// The constant string added to the username salt is to mitigate
// rainbox tables. We should really have a unique salt for each
// user, but this is close enough.