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:
parent
265e32e3e2
commit
d9faae483d
|
@ -37,7 +37,7 @@ export const SECOND_FACTOR_METHODS = {
|
||||||
SECURITY_KEY: 3,
|
SECURITY_KEY: 3,
|
||||||
};
|
};
|
||||||
|
|
||||||
const isForever = (dt) => moment().diff(dt, "years") < -500;
|
const isForever = (dt) => moment().diff(dt, "years") < -100;
|
||||||
|
|
||||||
let userFields = [
|
let userFields = [
|
||||||
"bio_raw",
|
"bio_raw",
|
||||||
|
|
Loading…
Reference in New Issue