Remove this check, we store hashes not passwords

This commit is contained in:
Jordan Brown
2022-02-26 17:36:24 -05:00
parent c3255b7b2c
commit 3d242600ed
@@ -395,13 +395,6 @@ namespace Tgstation.Server.Host.Core
logger.LogDebug("Content Root: {0}", hostingEnvironment.ContentRootPath);
logger.LogTrace("Web Root: {0}", hostingEnvironment.WebRootPath);
if (generalConfiguration.MinimumPasswordLength > Limits.MaximumStringLength)
{
logger.LogCritical("Configured minimum password length ({0}) is greater than the maximum database string length ({1})!");
serverControl.Die(new InvalidOperationException("Minimum password length greater than database limit!"));
return;
}
// attempt to restart the server if the configuration changes
if (serverControl.WatchdogPresent)
ChangeToken.OnChange(Configuration.GetReloadToken, () =>