feat: Implement Two-Factor Authentication (2FA) with new OTP and login forms, updated API endpoints, and manager functionality to disable 2FA.

This commit is contained in:
2026-02-07 08:24:13 +07:00
parent a011405d92
commit 155101491b
22 changed files with 803 additions and 144 deletions

View File

@@ -73,4 +73,12 @@ export default {
'master.users.resetPassword.modal.title': 'Đặt lại mật khẩu cho người dùng',
'master.users.resetPassword.success': 'Đặt lại mật khẩu thành công',
'master.users.resetPassword.error': 'Đặt lại mật khẩu thất bại',
'master.users.disable2fa.title': 'Tắt 2FA',
'master.users.disable2fa.success': 'Đã tắt 2FA thành công',
'master.users.disable2fa.error': 'Tắt 2FA thất bại',
'master.users.disable2fa.modal.title': 'Tắt xác thực hai yếu tố',
'master.users.disable2fa.modal.warning':
'Bạn có chắc chắn muốn tắt 2FA cho người dùng này không?',
'master.users.disable2fa.modal.caution':
'Cảnh báo: Việc tắt 2FA sẽ làm giảm bảo mật tài khoản. Người dùng sẽ cần thiết lập lại 2FA từ cài đặt hồ sơ của họ.',
};