fix: correct typo in Gitea SMTP port configuration

- Corrected a typo in the Gitea SMTP port configuration
- across multiple files: `gitea.vsh`, `gitea_model.v`,
- `server.v`, and `app.ini`.  The incorrect `smpt_port`
- was changed to the correct `smtp_port`.

Co-authored-by: mariobassem12 <mariobassem12@gmail.com>
This commit is contained in:
Mahmoud Emad
2025-01-08 14:04:29 +02:00
parent 7086a76a69
commit d7efbeb53f
4 changed files with 4 additions and 4 deletions

View File

@@ -19,7 +19,7 @@ pub fn heroscript_default() !string {
mail_from: 'git@meet.tf'
smtp_addr: 'smtp-relay.brevo.com'
smtp_login: 'admin'
smpt_port: 587
smtp_port: 587
smtp_passwd: '12345678'
domain: 'meet.tf'
jwt_secret: ''

View File

@@ -23,7 +23,7 @@ module gitea
// // mail_from string = 'git@meet.tf'
// // smtp_addr string = 'smtp-relay.brevo.com'
// // smtp_login string @[required]
// // smpt_port int = 587
// // smtp_port int = 587
// // smtp_passwd string
// // domain string @[required]
// // jwt_secret string

View File

@@ -83,7 +83,7 @@ ENABLED = true
FROM = ${server.mail_from}
; PROTOCOL = smtps
SMTP_ADDR = ${server.smtp_addr}
SMTP_PORT = ${server.smpt_port}
SMTP_PORT = ${server.smtp_port}
USER = ${server.smtp_login}
PASSWD = ${server.smtp_passwd}