-
Notifications
You must be signed in to change notification settings - Fork 38
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use maildev for local development #951
Comments
liangyuanruo
added
security
P2
Not urgent, but work on it once you're done with current tasks
labels
Nov 23, 2020
Instead of that, why not we just stub nodemailer in dev? |
I would like to exercise the same nodemailer code path as closely as possible. wit this implementation, the difference will be minimal as only the transport will differ. |
LoneRifle
pushed a commit
that referenced
this issue
Mar 22, 2021
Currently local development requires hardcoding OTPs to "111111" and using the dummy MailerNoOp service. -implemented maildev for local development -added an environment variable to toggle maildev, defaults to true fix #951
orbitalsqwib
added a commit
that referenced
this issue
Mar 22, 2021
orbitalsqwib
added a commit
that referenced
this issue
Mar 22, 2021
- Removed MailerNoOp and Nodemailer Direct Transport - Removed `USE_MAILDEV` env var - Refactored code paths to always use maildev for development - Improved LoginProcedure to use regex to find OTP fix #951
orbitalsqwib
added a commit
that referenced
this issue
Mar 23, 2021
- Refactored Nodemailer transport option configurations for clarity - Cleaned up email, inversify and config files fix #951
orbitalsqwib
added a commit
that referenced
this issue
Mar 23, 2021
- Removed maildev from dependencies as maildev is currently run through a docker container fix #951
orbitalsqwib
added a commit
that referenced
this issue
Mar 23, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is your feature request related to a problem? Please describe.
Currently local development requires hardcoding OTPs to "111111" and using the dummy
MailerNoOp
service.Describe the solution you'd like
Integrate maildev with for use in local development instead. This will close the security risks from accidentally generating dummy OTPs in production, and align development to be closer to the production setup.
The text was updated successfully, but these errors were encountered: