Skip to content

Commit 94e4a1d

Browse files
committed
Hide secure outcome for #348
1 parent c13eaea commit 94e4a1d

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/eke.knowledge/src/eke/knowledge/protocols.py

+7-1
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,13 @@ def get_context(self, request: HttpRequest, *args, **kwargs) -> dict:
205205
context['publications'] = [i for i in self.publications.order_by(Lower('title'))]
206206

207207
# Show the new secure outcome only for logged in users
208-
context['show_secure_outcome'] = request and request.user.is_authenticated
208+
# context['show_secure_outcome'] = request and request.user.is_authenticated
209+
#
210+
# Actually …
211+
#
212+
# In https://github.com/EDRN/P5/issues/348#issuecomment-1998265624 @hoodriverheather requests
213+
# that we don't show the secure outcome
214+
context['show_secure_outcome'] = False
209215

210216
return context
211217

0 commit comments

Comments
 (0)