summaryrefslogtreecommitdiff
path: root/changelog.d
diff options
context:
space:
mode:
authorMark Felder <feld@feld.me>2024-07-31 14:14:31 -0400
committerMark Felder <feld@feld.me>2024-07-31 14:14:35 -0400
commite6951e7e409471a5fa68bd2387a758d6abb1f728 (patch)
tree0a70756c1929e7c2724d9b77ded8da95872b3492 /changelog.d
parentf646b0554fd081c2ea28ba9a45e90033aa06f736 (diff)
downloadpleroma-e6951e7e409471a5fa68bd2387a758d6abb1f728.tar.gz
pleroma-e6951e7e409471a5fa68bd2387a758d6abb1f728.zip
Fix User.disclose_client never working correctly
Our test environment cheats by constructing a conn with a custom oauth_access/2 function. This assigns a :token to the conn but due to the way it is constructed it has the :user preloaded. When the OAuth Plug fetches a token it does not preload the user, so the check for user.disclose_client was always nil and assumed to be false. Preloading the :user ensures the test environment matches reality.
Diffstat (limited to 'changelog.d')
-rw-r--r--changelog.d/disclose_client.fix1
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/disclose_client.fix b/changelog.d/disclose_client.fix
new file mode 100644
index 000000000..938abc930
--- /dev/null
+++ b/changelog.d/disclose_client.fix
@@ -0,0 +1 @@
+Client application data was always missing from the status