Skip to content

Changing dark mode setting revokes host agent API tokens. #685

@philco911

Description

@philco911

Description
It looks like changing the dark mode setting revokes API tokens. I don't understand the connection between the two so maybe it's not related but I recreated it after remembering that I had changed the dark mode setting before having my hosts unauthenticated.

To Reproduce
Steps to reproduce the behavior:

  1. Start with a clean install, with one Proxmox node attached.
  2. Have no API tokens.
  3. Add two hosts, each with their own agent scoped token.
  4. Go to Settings->General and turn on, then off, the dark mode setting.
  5. Go to the API token page and observe the host API tokens are gone (and they are really revoked since the hosts will get blocked on next update), and there is now a single "Environment" API token.

Expected behavior
The host API tokens not being revoked.

Environment:

  • Pulse Version: 4.27.1
  • Installation Type: ProxmoxVE LXC

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions