You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implemented API endpoint to return current users info (#4872)
* Implemented API endpoint to return current users info
* Added tests for login/whoami endpoint
* Added another test case for additional requested fields
* Fixed a security hole
* Removed the req.query.additionalFields test case as well as the allowedFields feature
* Added 2 more test cases as requested to test out whoamiFields
---------
Co-authored-by: Robert Means <robert@apostrophecms.com>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,7 @@
4
4
5
5
### Adds
6
6
7
+
* Implemented GET /api/v1/@apostrophecms/login/whoami route such that it returns the details of the currently logged in user; added the route to the login module.
7
8
* Adds keyboard shortcuts for manipulating widgets in areas. Includes Cut, Copy, Paste, Delete, and Duplicate.
8
9
* Adds dynamic choices working with piece manager filters.
9
10
* Allow `import.imageTags` (array of image tag IDs) to be passed to the rich text widget when importing (see https://docs.apostrophecms.org/reference/api/rich-text.html#importing-inline-images).
0 commit comments