Skip to content

401 Please authenticate while attempting to add new movie or new cinema as an admin #15

@henno

Description

@henno
  1. Register a user
  2. In MongoDB, update user's role to admin
  3. Log in with this user again
  4. Go to User > Dashboard > Movies
  5. Add new movie

Expected:
New movie is added

Actual:
Nothing seems to happen but in Network tab you will see that the POST request to add new movie resulted in 401 please authenticate message.

Why this is happening?
Why this "Please authenticate error is not shown on the page"?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions