sftpgo-mirror/examples/OTP/authy/keyint
Nicola Murino ca3e15578e
Use new methods in the io and os packages instead of ioutil ones
ioutil is deprecated in Go 1.16 and SFTPGo is an application, not
a library, we have no reason to keep compatibility with old Go
versions.

Go 1.16 fix some cifs related issues too.
2021-02-25 21:53:04 +01:00
..
go.mod add some examples hooks for one time password logins 2020-08-18 21:21:01 +02:00
main.go Use new methods in the io and os packages instead of ioutil ones 2021-02-25 21:53:04 +01:00
README.md add check password hook 2020-08-19 19:36:12 +02:00

Authy 2FA using keyboard interactive authentication

This example shows how to authenticate SFTP users using 2FA (password + Authy token). Please read the sample code, it should be self explanatory.