mirror of
https://github.com/drakkan/sftpgo.git
synced 2025-12-07 23:00:55 +03:00
multi-step auth: don't advertise password method if it is disabled
also rename the settings to password_authentication so it is more like OpenSSH, add some test cases and improve documentation
This commit is contained in:
@@ -72,6 +72,7 @@ func init() {
|
||||
LoginBannerFile: "",
|
||||
EnabledSSHCommands: sftpd.GetDefaultSSHCommands(),
|
||||
KeyboardInteractiveHook: "",
|
||||
PasswordAuthentication: true,
|
||||
},
|
||||
FTPD: ftpd.Configuration{
|
||||
BindPort: 0,
|
||||
|
||||
Reference in New Issue
Block a user