config: add --password-command to allow dynamic config password - fixes #3694

This commit is contained in:
Damon Permezel
2019-11-18 19:55:27 +10:00
committed by Nick Craig-Wood
parent 0ab2693da6
commit 06df133159
5 changed files with 169 additions and 15 deletions

View File

@@ -89,6 +89,7 @@ type ConfigInfo struct {
StreamingUploadCutoff SizeSuffix
StatsFileNameLength int
AskPassword bool
PasswordCommand string
UseServerModTime bool
MaxTransfer SizeSuffix
MaxBacklog int