Albirew/nyaa-pantsu
Archivé
1
0
Bifurcation 0
Ce dépôt a été archivé le 2022-05-07. Vous pouvez voir ses fichiers ou le cloner, mais pas ouvrir de ticket ou de demandes d'ajout, ni soumettre de changements.
nyaa-pantsu/config/email.go
2017-05-12 18:47:09 -05:00

19 lignes
455 o
Go

package config
import "time"
// TODO: Perform email configuration at runtime
// Future hosts shouldn't have to rebuild the binary to update a setting
const (
SendEmail = true
EmailFrom = "donotrespond@nyaa.pantsu.cat"
EmailTestTo = ""
EmailHost = "localhost"
EmailUsername = ""
EmailPassword = ""
EmailPort = 465
EmailTimeout = 10 * time.Second
)
var EmailTokenHashKey = []byte("CHANGE_THIS_BEFORE_DEPLOYING_YOU_GIT")