windmill icon indicating copy to clipboard operation
windmill copied to clipboard

Make it explicit in the list of the tokens which one is the one of the current session

Open nickers opened this issue 3 years ago • 3 comments

Describe the bug Can not delete token and "undefined" email displayed in user settings

To Reproduce:

  1. login with default admin account using "login without third party"
  2. go to "user settings"
  3. change default password
  4. click red "delete" in list of tokens
  5. Error message is displayed
  6. refresh page
  7. "undefined" is shown instead of email address

Am I partially logged out after that? (i am guessing that i am trying to remove token used in current session)

image

Windmill version: windmill.dev backend v. v1.6.1-4-g02c8bea

nickers avatar May 20 '22 21:05 nickers

Checked just now and I don't need to click anything to see "undefined" as email. I is enough to refresh page "user settings".

nickers avatar May 20 '22 21:05 nickers

Thanks for the issue, looking into it today!

rubenfiszel avatar May 21 '22 07:05 rubenfiszel

@nickers yes you have deleted your current session token. The fix would be to make it more visible on the list of tokens, which one is the current one. I'm editing the title

rubenfiszel avatar May 22 '22 17:05 rubenfiszel