FIX: Consider 100 years suspension as permanent (instead of 500-years suspension) (#13808)

That'll be consistent with recent changes in https://github.com/discourse/discourse/pull/13776
This commit is contained in:
Andrei Prigorshnev 2021-07-21 15:28:47 +04:00 committed by GitHub
parent 265e32e3e2
commit d9faae483d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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",