mirror of
https://github.com/songquanpeng/one-api.git
synced 2025-10-15 15:30:26 +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