mirror of
https://github.com/QuantumNous/new-api.git
synced 2026-03-30 05:41:37 +00:00
fix: fix SMTPFrom not updated in some cases (close #34)
This commit is contained in:
@@ -60,9 +60,6 @@ func InitOptionMap() {
|
||||
common.SysError("Failed to update option map: " + err.Error())
|
||||
}
|
||||
}
|
||||
if common.SMTPFrom == "" { // for compatibility
|
||||
common.SMTPFrom = common.SMTPAccount
|
||||
}
|
||||
}
|
||||
|
||||
func UpdateOption(key string, value string) error {
|
||||
|
||||
Reference in New Issue
Block a user