Reset the admin password and 2FA
Reset the admin password and 2FA
The following command will always reset the 2FA and the password for the admin.
In the Web Terminal run:
./sftpgo resetpwd --admin admin
You will be asked to provide a new password.