mirror of
https://github.com/tgstation/tgstation-server.git
synced 2026-08-31 00:50:45 +01:00
Remove this check, we store hashes not passwords
This commit is contained in:
@@ -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, () =>
|
||||
|
||||
Reference in New Issue
Block a user