#1276 Fix wrong multiplication of reset threshold

This commit is contained in:
ljacqu 2017-07-09 14:31:17 +02:00
parent 1c4594b53d
commit 276ce80edb

View File

@ -119,7 +119,7 @@ public class TempbanManager implements SettingsDependent, HasCleanup {
this.isEnabled = settings.getProperty(SecuritySettings.TEMPBAN_ON_MAX_LOGINS);
this.threshold = settings.getProperty(SecuritySettings.MAX_LOGIN_TEMPBAN);
this.length = settings.getProperty(SecuritySettings.TEMPBAN_LENGTH);
this.resetThreshold = settings.getProperty(TEMPBAN_MINUTES_BEFORE_RESET) * MILLIS_PER_MINUTE;
this.resetThreshold = settings.getProperty(TEMPBAN_MINUTES_BEFORE_RESET);
}
@Override