memos icon indicating copy to clipboard operation
memos copied to clipboard

Memos Instance Missing List of Access Tokens

Open jhademcconnell opened this issue 2 years ago • 1 comments

Describe the bug

The list of access tokens available is not shown after building the latest commit. When creating a new access token, the API to create/list the tokens are called but isn't displayed in the UI:

https://{host}/memos.api.v2.UserService/ListUserAccessTokens
https://{host}/memos.api.v2.UserService/CreateUserAccessToken 

Both API requests above show a POST 200 in the logs but access tokens aren't shown.

image

Steps to reproduce

  1. Log into your Memos instance with "Remember Me"
  2. Navigate to settings > my account
  3. List of Access Tokens is now empty
  4. Create an access token
  5. New access token isn't displayed after creation

The version of Memos you're using

v0.18.1 (latest commit)

Screenshots or additional context

No response

jhademcconnell avatar Dec 27 '23 14:12 jhademcconnell

Found that the members list is also empty:

image

jhademcconnell avatar Dec 28 '23 14:12 jhademcconnell

Closing bc it’s a non issue. This was due to a custom CSS enabled which was used to hide the tags inside of memos:

.inline-block {
    display: none;
}

Having this also hid the list for members/access tokens. After removing, the list of members/access tokens are able to be viewed (tag in memos show though).

jhademcconnell avatar Jan 05 '24 23:01 jhademcconnell