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
Calling POST /api/v1/users/{id}/access_tokens to create an access token for user {id} using admin's token, will create token for admin instead of user {id}
Steps to reproduce
Create admin account, user id 1
Create a normal user, user id 2
Call POST /api/v1/users/2/access_tokens using user 1(admin)'s access token. A new token is created for user 1(admin) instead of user2
The version of Memos you're using
0.22
Screenshots or additional context
No response
The text was updated successfully, but these errors were encountered:
Describe the bug
Calling
POST /api/v1/users/{id}/access_tokens
to create an access token for user {id} using admin's token, will create token for admin instead of user {id}Steps to reproduce
POST /api/v1/users/2/access_tokens
using user 1(admin)'s access token. A new token is created for user 1(admin) instead of user2The version of Memos you're using
0.22
Screenshots or additional context
No response
The text was updated successfully, but these errors were encountered: