n8n/packages/cli/src/auth
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
..
methods refactor(core): Use an IoC container to manage singleton classes [Part-1] (no-changelog) (#5509) 2023-02-21 19:21:56 +01:00
index.ts
jwt.ts fix(core): Use JWT as reset password token (#6714) 2023-07-24 17:40:17 -04:00