Skip to content

deletion of API key triggers an error and logout #630

@gerhard-tinned

Description

@gerhard-tinned

Describe the bug
I installed the rest api package as instructed by the documentation. After that, I started inspecting the settings.

Without activating, i tried to create a api key which worked. While deleting the key,

To Reproduce
Steps to reproduce the behavior:

  1. Go to System -> REST API -> Keys
  2. Click on '+Add' and create a key.
  3. Click on 'Keys' to see the list of keys
  4. Click delete icon to delete the key and confirm
  5. Click any link on the page.example Settings
  6. See error: "No page assigned to this user! Click here to logout."

Expected behavior
It is expected to stay logged in after deleting a api key.

Screenshots or Response
Screenshot_20250101-094819

pfSense Version & Package Version:

  • pfSense Version: 2.7.2
  • Package Version: 2.3

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions