@usequark/quark-create-app 1.25.11 → 1.25.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@usequark/quark-create-app",
3
- "version": "1.25.11",
3
+ "version": "1.25.12",
4
4
  "description": "CLI to scaffold new Quark projects with Next.js, Prisma, BullMQ, and Railway deployment",
5
5
  "keywords": [
6
6
  "quark",
@@ -2,9 +2,14 @@ import { getAuthSecret } from "@usequark/quark-core/auth";
2
2
  import { getToken } from "next-auth/jwt";
3
3
 
4
4
  const STRICT_AUTH_RATE_LIMIT_ROUTES = new Set([
5
+ // `callback/credentials` is where the next-auth client POSTs a credentials
6
+ // sign-in (next-auth/react posts to `callback/<provider>` for credentials
7
+ // providers), so this is the credential-stuffing surface and stays strict.
8
+ // `signin/credentials` is deliberately NOT listed: no client POSTs there,
9
+ // and @auth/core's POST `signin` action for a credentials provider just
10
+ // redirects to the sign-in page — nothing to brute force.
5
11
  "/api/auth/callback/credentials",
6
12
  "/api/auth/register",
7
- "/api/auth/signin/credentials",
8
13
  ]);
9
14
 
10
15
  /**