Skip to content
This repository was archived by the owner on Jul 31, 2020. It is now read-only.
This repository was archived by the owner on Jul 31, 2020. It is now read-only.

Create isUser middleware. #23

@Pierre-RA

Description

@Pierre-RA

Some routes have to be protected by the isUser middleware.
For instance:
DELETE /api/users/1234, the route can only be accessed by someone with a valid token and is the correct user.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions