Skip to content

Allow previos authentication middlewares. #35

Description

@LaKing

I think a good approach would be to check if req.auth exists already. If yes, a previous method already authenticated.

return function authMiddleware(req, res, next) {
		if (req.auth) return next();
...

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions