fix: Optimize UserConfirmDialog to send code via email (#15164)

* fix: Optimize UserConfirmDialog to send code via email

* fix: Optimize verification failure without error reporting

---------

Co-authored-by: halo <wuyihuangw@gmail.com>
Co-authored-by: Bryan <jiangjie.bai@fit2cloud.com>
This commit is contained in:
fit2bot
2025-04-08 15:50:15 +08:00
committed by GitHub
parent 519ec65ad4
commit 29ddfcac17
3 changed files with 19 additions and 21 deletions

View File

@@ -31,6 +31,7 @@ class ConfirmType(TextChoices):
class MFAType(TextChoices):
OTP = 'otp', _('OTP')
SMS = 'sms', _('SMS')
Email = 'email', _('Email')
Face = 'face', _('Face Recognition')
Radius = 'otp_radius', _('Radius')
Custom = 'mfa_custom', _('Custom')