Page MenuHomePhabricator

D6492.diff
No OneTemporary

D6492.diff

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, 181)
) {
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, 181)) {
return;
}

File Metadata

Mime Type
text/plain
Expires
Fri, Dec 20, 5:06 AM (21 h, 29 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2680498
Default Alt Text
D6492.diff (1 KB)

Event Timeline