mirror of
https://github.com/ngoduykhanh/wireguard-ui.git
synced 2025-06-07 00:46:58 +03:00
hotfix
This commit is contained in:
parent
deca8bf735
commit
ed7934ae27
1 changed files with 1 additions and 1 deletions
2
main.go
2
main.go
|
@ -81,7 +81,7 @@ func init() {
|
|||
flag.Parse()
|
||||
|
||||
// command-line flags and env variables w/ secret support
|
||||
var tempflag string = util.LookupEnvOrString("SMTP_PASSWORD", flagSmtpPassword)
|
||||
tempflag := util.LookupEnvOrString("SMTP_PASSWORD", flagSmtpPassword)
|
||||
if tempflag == "" {
|
||||
flag.StringVar(&flagSmtpPassword, "smtp-password", util.LookupEnvOrFile("SMTP_PASSWORD_FILE", flagSmtpPassword), "SMTP Password File")
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue