Spaces:
Runtime error
Runtime error
Commit History
-
feat(discord-logger): implement api request and response loggingβ
Akshar2325- create discord logger module including service, interceptor, and exception filter - introduce `@LogToDiscord()` decorator to enable selective logging on controllers or methods - send sanitized request/response data to n8n webhooks for success (2xx-3xx) and error (4xx-5xx) statuses - integrate logging into super admin and user authentication, 2fa, profile, and various upload modules - mark requests for logging within guards to ensure consistent behavior π docs(discord-logger): add architecture guide and env configuration - provide a comprehensive architecture document detailing the discord logger system - update .env.example with necessary environment variables for discord loggingd201b18
-
β¨ feat(super-admin-2fa): introduce two-factor authenticationβ
Akshar2325- implement comprehensive two-factor authentication (2fa) for super admins - extend db schema with models for 2fa methods, recovery codes, and trusted devices - add core modules and services for managing all 2fa related entities - integrate 2fa checks, pending token generation, and trusted device logic - provide api endpoints for enabling, sending, and verifying email and totp codes - enable management of recovery codes and trusted devices for enhanced security - update email service to support sending 2fa verification codes π¦ build(deps): add 2fa related dependencies - install crypto-js for secret encryption - install nanoid for unique id generation - install otplib for totp authenticator functionality - install qrcode for qr code generation π§ chore(messages): update common and 2fa related messages - add 'invalid_2fa_token' to common error messages - define specific success and error messages for all super admin 2fa features π docs(super-admin-auth): add 2fa authentication flow β¦add3ead