Skip to content
Discussion options

You must be logged in to vote

Seems weird. Can you share when did you installed the @adonisjs/auth package. Coz the middleware is using an outdated template (which shouldn't be the case for a new app).

Anyways, I recommend replacing the contents of app/Middleware/Auth with this file https://github.com/adonisjs/auth/blob/develop/templates/middleware/Auth.txt

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@remidosol
Comment options

@remidosol
Comment options

Answer selected by remidosol
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
Labels
None yet
2 participants