Compare commits

...

2 Commits

Author SHA1 Message Date
Balázs Orbán
ab764e3793 chore: bump release 2022-03-15 22:50:13 +01:00
Balázs Orbán
c8941e4b3e fix: remove action from bad request response 2022-03-15 22:45:10 +01:00
3 changed files with 5 additions and 2 deletions

1
package-lock.json generated
View File

@@ -5,6 +5,7 @@
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "next-auth",
"version": "0.0.0-semantically-released", "version": "0.0.0-semantically-released",
"funding": [ "funding": [
{ {

View File

@@ -1,6 +1,6 @@
{ {
"name": "next-auth", "name": "next-auth",
"version": "0.0.0-semantically-released", "version": "3.29.1",
"description": "Authentication for Next.js", "description": "Authentication for Next.js",
"homepage": "https://next-auth.js.org", "homepage": "https://next-auth.js.org",
"repository": "https://github.com/nextauthjs/next-auth.git", "repository": "https://github.com/nextauthjs/next-auth.git",

View File

@@ -280,7 +280,9 @@ async function NextAuthHandler(req, res, userOptions) {
} }
return res return res
.status(400) .status(400)
.end(`Error: HTTP ${req.method} is not supported for ${req.url}`) .end(
`Error: This action with HTTP ${req.method} is not supported by NextAuth.js`
)
}) })
} }