diff --git a/keyserver/src/responders/user-responders.js b/keyserver/src/responders/user-responders.js --- a/keyserver/src/responders/user-responders.js +++ b/keyserver/src/responders/user-responders.js @@ -230,7 +230,7 @@ if ( notAcknowledgedPolicies.length && - hasMinCodeVersion(viewer.platformDetails, 1000) + hasMinCodeVersion(viewer.platformDetails, 182) ) { const currentUserInfo = await fetchLoggedInUserInfo(viewer); return { diff --git a/keyserver/src/scripts/force-policy-acknowledgment.js b/keyserver/src/scripts/force-policy-acknowledgment.js --- a/keyserver/src/scripts/force-policy-acknowledgment.js +++ b/keyserver/src/scripts/force-policy-acknowledgment.js @@ -6,7 +6,7 @@ import { main } from './utils.js'; // time when policy was officially published for users -const policyUpdateTime = new Date('2022-12-30T00:00:00').getTime(); +const policyUpdateTime = new Date('2023-02-03T00:00:00').getTime(); async function forcePolicyAcknowledgment() { await dbQuery(SQL` diff --git a/keyserver/src/utils/validation-utils.js b/keyserver/src/utils/validation-utils.js --- a/keyserver/src/utils/validation-utils.js +++ b/keyserver/src/utils/validation-utils.js @@ -163,7 +163,7 @@ if (!policies.length) { return; } - if (!hasMinCodeVersion(viewer.platformDetails, 1000)) { + if (!hasMinCodeVersion(viewer.platformDetails, 182)) { return; }