Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3724530
D10308.id36529.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
544 B
Referenced Files
None
Subscribers
None
D10308.id36529.diff
View Options
diff --git a/keyserver/src/fetchers/link-fetchers.js b/keyserver/src/fetchers/link-fetchers.js
--- a/keyserver/src/fetchers/link-fetchers.js
+++ b/keyserver/src/fetchers/link-fetchers.js
@@ -19,7 +19,8 @@
FROM invite_links i
INNER JOIN threads c ON c.id = i.community
LEFT JOIN memberships m
- ON m.thread = i.community AND m.user = ${viewer.userID}
+ ON m.thread = i.community
+ AND m.user = ${viewer.loggedIn ? viewer.userID : null}
WHERE i.name = ${request.secret}
AND c.community IS NULL
`;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Jan 9, 5:42 PM (10 h, 14 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2837475
Default Alt Text
D10308.id36529.diff (544 B)
Attached To
Mode
D10308: [keyserver] Modify link verification so that it works with users that aren't logged in to a keyserver
Attached
Detach File
Event Timeline
Log In to Comment