mirror of
https://github.com/fosrl/pangolin.git
synced 2026-05-21 09:21:15 -05:00
[PR #1138] [MERGED] add an environment variable for the smtp_pass config option #2451
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/fosrl/pangolin/pull/1138
Author: @SigmaSquadron
Created: 7/27/2025
Status: ✅ Merged
Merged: 7/27/2025
Merged by: @oschwartz10612
Base:
main← Head:push-uolqlutswopp📝 Commits (1)
0b52cd0add an environment variable for the smtp_pass config option📊 Changes
1 file changed (+1 additions, -1 deletions)
View changed files
📝
server/lib/readConfigFile.ts(+1 -1)📄 Description
Community Contribution License Agreement
By creating this pull request, I grant the project maintainers an unlimited,
perpetual license to use, modify, and redistribute these contributions under any terms they
choose, including both the AGPLv3 and the Fossorial Commercial license terms. I
represent that I have the right to grant this license for all contributed content.
Description
The password for secure authentication may be sensitive, so it is best to not leave it lying around in a config file. This commit introduces the
EMAIL_SMTP_PASSenvironment variable, which can be set to configure the SMTP password without writing it to the configuration file.How to test?
Start a Pangolin server as normal, but use
EMAIL_SMTP_PASSinstead of the config file to set up the mail server.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.