A platform for community discussion. Free, open, simple.
FIX: Consider 100 years suspension as permanent (instead of 500-years suspension) (#13808)
Andrei Prigorshnevd9faae483d23
diff --git a/app/assets/javascripts/discourse/app/models/user.js b/app/assets/javascripts/discourse/app/models/user.jsindex 4b2b4e905f6..fc28a3b31f0 100644--- a/app/assets/javascripts/discourse/app/models/user.js+++ b/app/assets/javascripts/discourse/app/models/user.js@@ -37,7 +37,7 @@ export const SECOND_FACTOR_METHODS = {SECURITY_KEY: 3,};-const isForever = (dt) => moment().diff(dt, "years") < -500;+const isForever = (dt) => moment().diff(dt, "years") < -100;let userFields = ["bio_raw",