Nicola Murino a020a4e0ed update dependencies in tests and examples 1 tahun lalu
..
README.md 8b0a1817b3 add check password hook 5 tahun lalu
go.mod a020a4e0ed update dependencies in tests and examples 1 tahun lalu
main.go ca3e15578e Use new methods in the io and os packages instead of ioutil ones 4 tahun lalu

README.md

Authy 2FA via check password hook

This example shows how to use 2FA via the check password hook using a password consisting of a fixed part and an Authy TOTP token. The hook will check the TOTP token using the Authy API and SFTPGo will check the fixed part. Please read the sample code, it should be self explanatory.