1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-11-10 01:19:53 +01:00
unleash.unleash/src
Christopher Kolstad d74077d897
fix: reject unauthorized client requests (#3881)
If apiTokens are enabled breaks middleware chain with a 401 if no token
is found for requests to client and frontend apis. Previously the
middleware allowed the chain to process.

Removes the regex search for multiple slashes, and instead configures
the apiTokenMiddleware to reject unauthorized requests.
2023-05-27 16:31:08 +02:00
..
lib fix: reject unauthorized client requests (#3881) 2023-05-27 16:31:08 +02:00
mailtemplates refactor: move docs into new structure / fix links for SEO (#2416) 2022-11-22 09:05:30 +00:00
migrations fix: migration failure when sessionId exists (#3624) (#3625) 2023-04-26 09:00:13 +00:00
test fix: reject unauthorized client requests (#3881) 2023-05-27 16:31:08 +02:00
migrator.ts feat: disable verbosity from db-migrate (#3301) 2023-03-13 10:12:43 +01:00
server-dev.ts Merge fixes for 5.0.1 to 5.0 branch (#3646) 2023-04-28 12:10:23 +03:00
server.ts Define exports for enterprise (#2435) 2022-11-17 13:02:40 +02:00