mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-20 03:12:15 +00:00
refactor(core): Setup decorator based RBAC (no-changelog) (#5787)
This commit is contained in:
committed by
GitHub
parent
feb2ba09b9
commit
1eeadc6114
@@ -65,7 +65,6 @@ export class PasswordResetController {
|
||||
|
||||
/**
|
||||
* Send a password reset email.
|
||||
* Authless endpoint.
|
||||
*/
|
||||
@Post('/forgot-password')
|
||||
async forgotPassword(req: PasswordResetRequest.Email) {
|
||||
@@ -171,7 +170,6 @@ export class PasswordResetController {
|
||||
|
||||
/**
|
||||
* Verify password reset token and user ID.
|
||||
* Authless endpoint.
|
||||
*/
|
||||
@Get('/resolve-password-token')
|
||||
async resolvePasswordToken(req: PasswordResetRequest.Credentials) {
|
||||
@@ -213,7 +211,6 @@ export class PasswordResetController {
|
||||
|
||||
/**
|
||||
* Verify password reset token and user ID and update password.
|
||||
* Authless endpoint.
|
||||
*/
|
||||
@Post('/change-password')
|
||||
async changePassword(req: PasswordResetRequest.NewPassword, res: Response) {
|
||||
|
||||
Reference in New Issue
Block a user