mirror of
https://github.com/directus/directus.git
synced 2026-04-25 03:00:53 -04:00
* 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>