feat(core): Add MFA (#4767)

https://linear.app/n8n/issue/ADO-947/sync-branch-with-master-and-fix-fe-e2e-tets

---------

Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
This commit is contained in:
Ricardo Espinoza
2023-08-23 22:59:16 -04:00
committed by GitHub
parent a01c3fbc19
commit 2b7ba6fdf1
61 changed files with 2301 additions and 105 deletions

View File

@@ -45,8 +45,8 @@ export class BadRequestError extends ResponseError {
}
export class AuthError extends ResponseError {
constructor(message: string) {
super(message, 401);
constructor(message: string, errorCode?: number) {
super(message, 401, errorCode);
}
}