static int normalizeLoginErrorLimit(int? loginErrorLimit) { return math.max(loginErrorLimit ?? 3, 3); }