Skip to content

Commit cf58ab3

Browse files
committed
chore(config): disable FTP and SFTP by default
1 parent 33ba7f1 commit cf58ab3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/conf/config.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ func DefaultConfig() *Config {
180180
SSL: false,
181181
},
182182
FTP: FTP{
183-
Enable: true,
183+
Enable: false,
184184
Listen: ":5221",
185185
FindPasvPortAttempts: 50,
186186
ActiveTransferPortNon20: false,
@@ -192,7 +192,7 @@ func DefaultConfig() *Config {
192192
EnablePasvConnIPCheck: true,
193193
},
194194
SFTP: SFTP{
195-
Enable: true,
195+
Enable: false,
196196
Listen: ":5222",
197197
},
198198
}

0 commit comments

Comments
 (0)