Replies: 1 comment
-
Ok so this just went away on its own after restarting. Everything is telling me to use Is there a rough guideline? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi there 👋
I'm following a tutorial trying to get to grips with adonis, and I've run into an error:
I've installed auth, configured it, and then tried to use it in a controller like this:
The offending line 20 is this one:
const token = await auth.attempt(email, password)
In app.ts I have
forceContentNegotiationTo: 'application/json',
I'm sure I've missed something daft - any clues?
Beta Was this translation helpful? Give feedback.
All reactions