Super code can be disabled

This commit is contained in:
skiffer-git
2022-07-02 09:50:25 +08:00
parent 7ffe857f52
commit d7ce455f2f
5 changed files with 9 additions and 6 deletions
+4 -3
View File
@@ -464,9 +464,10 @@ type config struct {
VerificationCodeTemplateCode string `yaml:"verificationCodeTemplateCode"`
Enable bool `yaml:"enable"`
}
SuperCode string `yaml:"superCode"`
CodeTTL int `yaml:"codeTTL"`
Mail struct {
SuperCode string `yaml:"superCode"`
CodeTTL int `yaml:"codeTTL"`
UseSuperCode bool `yaml:"useSuperCode"`
Mail struct {
Title string `yaml:"title"`
SenderMail string `yaml:"senderMail"`
SenderAuthorizationCode string `yaml:"senderAuthorizationCode"`