mirror of
https://github.com/drakkan/sftpgo.git
synced 2026-10-21 05:42:37 +00:00
in the authy example redact the password in logs Signed-off-by: Nicola Murino <nicola.murino@gmail.com>
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.