feat(auth): add MFA handling in team invitations flow (#285)

- Export `MultiFactorAuthError` from `require-user` for reuse.
- Implement MFA handling during team invitations' sign-in flow.
- Add E2E test for team invitation flow with MFA.
- Update components to improve i18n translation handling.
This commit is contained in:
Giancarlo Buomprisco
2025-06-17 07:25:01 +07:00
committed by GitHub
parent 698e570545
commit 1032fb7f94
5 changed files with 121 additions and 10 deletions

View File

@@ -62,7 +62,7 @@ class AuthenticationError extends Error {
}
}
class MultiFactorAuthError extends Error {
export class MultiFactorAuthError extends Error {
constructor() {
super(`Multi-factor authentication required`);
}