n8n/packages/cli/test/unit/services
Ricardo Espinoza 89f44021b9
fix(core): Use JWT as reset password token (#6714)
* use jwt to reset password

* increase expiration time to 1d

* drop user id query string

* refactor

* use service instead of package in tests

* sqlite migration

* postgres migration

* mysql migration

* remove unused properties

* remove userId from FE

* fix test for users.api

* move migration to the common folder

* move type assertion to the jwt.service

* Add jwt secret as a readonly property

* use signData instead of sign in user.controller

* remove base class

* remove base class

* add tests
2023-07-24 17:40:17 -04:00
..
events.service.test.ts refactor(core): Refactor WorkflowStatistics code (no-changelog) (#6617) 2023-07-18 11:28:24 +02:00
jwt.service.test.ts fix(core): Use JWT as reset password token (#6714) 2023-07-24 17:40:17 -04:00
role.service.test.ts refactor(core): Reduce boilterplate code in between tests 🧹, and fix the tests in node.js 20 (no-changelog) (#6654) 2023-07-13 10:14:48 +02:00