Skip to content

Authentication middleware #5

@Kleidukos

Description

@Kleidukos

We don't want to people to access some endpoints without being authenticated first. This middleware should see in the session if the user has a user_id attribute, and redirect to the login page (and saving the link they were visiting in the first place in their user assign), and then redirect them to their initial link.

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