Files
directus/api/src/utils
Brainslug 9a6e23639b Prevent "invalid token" from being blocking (#22459)
* Throw a consistent invalid credentials error and remove invalid session cookies on the response

* updated tests

* prettier

* Added tests for cookie clearing

* prettier

* Update api/src/middleware/authenticate.test.ts

Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>

* Update api/src/middleware/authenticate.test.ts

Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>

* Update api/src/middleware/authenticate.ts

Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>

---------

Co-authored-by: Pascal Jufer <pascal-jufer@bluewin.ch>
2024-05-14 14:01:40 +02:00
..
2023-10-09 15:17:29 -04:00
2023-10-09 15:17:29 -04:00
2024-02-24 00:34:40 +01:00
2023-04-14 17:40:50 -04:00
2023-11-20 16:23:22 +01:00
2022-11-17 08:51:42 -05:00
2023-10-21 00:34:57 +02:00
2024-03-04 01:59:45 +01:00
2023-12-20 00:26:15 +01:00
2023-12-20 00:26:15 +01:00
2023-04-14 17:40:50 -04:00
2023-11-20 16:23:22 +01:00
2023-12-10 19:49:45 +01:00
2021-07-31 13:59:19 -04:00
2023-11-20 16:23:22 +01:00