Skip to content

Parametrizar el mail de soporte con VITE_SUPPORT_EMAIL - #81

Merged
Winbit-Finance merged 1 commit into
mainfrom
fix/support-email-config
Oct 8, 2026
Merged

Winbit-Finance merged 1 commit into
mainfrom
fix/support-email-config

Conversation

@Winbit-Finance

Copy link
Copy Markdown
Collaborator

Summary

  • El mail de soporte de los errores de login y de la pantalla de no autorizado sale ahora de VITE_SUPPORT_EMAIL (src/config/support.js), con winbit.cfds@gmail.com como valor por defecto, así que no cambia nada hasta definir la variable.
  • Los 6 textos de i18n.js (ES/EN) usan {{supportEmail}} vía interpolation.defaultVariables; UnauthorizedPage usa la misma constante.
  • VITE_SUPPORT_EMAIL agregado a .env.production.example.

Test plan

  • eslint y prettier --check en los archivos tocados
  • Tests de UnauthorizedPage, AuthProvider, LoginPage y Footer en verde
  • Verificado con un test descartable que el mensaje genérico resuelve a "Error de validación: Load failed. Contacta a winbit.cfds@gmail.com"
  • Para cambiar el mail en producción: definir VITE_SUPPORT_EMAIL también en el build de .github/workflows/ci.yml

@Winbit-Finance
Winbit-Finance merged commit 2615fbf into main Oct 8, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant