Π·Π΅ΡΠΊΠ°Π»ΠΎ ΠΈΠ· https://github.com/nextcloud/twofactor_totp.git
f032b26f19 | ||
---|---|---|
appinfo | ||
css | ||
js | ||
l10n | ||
lib | ||
screenshots | ||
settings | ||
templates | ||
tests | ||
.gitignore | ||
.scrutinizer.yml | ||
.travis.yml | ||
AUTHORS.md | ||
CHANGELOG.md | ||
COPYING | ||
Makefile | ||
README.md | ||
composer.json | ||
composer.lock |
README.md
Two Factor Totp
Tested with the following apps:
- OTP Authenticator (open source) which can be downloaded from F-Droid and has a built-in QR-code reader.
- Google Authenticator (proprietary)
Enabling TOTP 2FA for your account
Running tests
You can use the provided Makefile to run all tests by using:
make test
This will run the PHP unit and integration tests and if a package.json is present in the js/ folder will execute npm run test
Of course you can also install PHPUnit and use the configurations directly:
phpunit -c phpunit.xml
or:
phpunit -c phpunit.integration.xml
for integration tests