forked from go-gitea/gitea
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix validity of the FROM email address not being checked (go-gitea#29347
) Fixes go-gitea#27188. Introduces a check on the installation that tries to parse the FROM address. If it fails, shows a new error message to the user. --------- Co-authored-by: KN4CK3R <[email protected]>
- Loading branch information
Showing
2 changed files
with
7 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -246,6 +246,7 @@ email_title = Email Settings | |
smtp_addr = SMTP Host | ||
smtp_port = SMTP Port | ||
smtp_from = Send Email As | ||
smtp_from_invalid = The "Send Email As" address is invalid | ||
smtp_from_helper = Email address Gitea will use. Enter a plain email address or use the "Name" <[email protected]> format. | ||
mailer_user = SMTP Username | ||
mailer_password = SMTP Password | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters