fix: Require mfa code to disable mfa (#10345)

This commit is contained in:
Tomi Turtiainen
2024-08-13 15:56:54 +03:00
committed by GitHub
parent e950df0de8
commit 3384f52a35
17 changed files with 215 additions and 44 deletions

View File

@@ -0,0 +1,7 @@
import { ForbiddenError } from './forbidden.error';
export class InvalidMfaCodeError extends ForbiddenError {
constructor(hint?: string) {
super('Invalid two-factor code.', hint);
}
}