-
Notifications
You must be signed in to change notification settings - Fork 0
🔒 Fix Hardcoded Email Password in appsettings.json #43
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -27,7 +27,7 @@ | |
|
|
||
| "EmailSettings": { | ||
| "From": "carexpress.suporte@gmail.com", | ||
| "Password": "kwjs rove xfka wanf", | ||
| "Password": "", | ||
| "SmtpServer": "smtp.gmail.com", | ||
| "Port": 465 | ||
|
Comment on lines
28
to
32
|
||
| } | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Setting
EmailSettings:Passwordto an empty string will causeEmailServiceauthentication to fail at runtime unless a higher-precedence config source (e.g.,EmailSettings__Passwordenv var / user-secrets) is set. Consider adding configuration validation (fail fast with a clear error) so missing secrets don’t become a harder-to-debug SMTP auth error later.