Install
Works with Drupal: ^10.1 || ^11Using Composer to manage Drupal site dependencies
Alternative installation files
Download tar.gz
99.65 KB
MD5: 320a58db93f48181d4810297a2e7540f
SHA-1: 7c8da0fbb77dbdd3c9db73cbdb730c8bddf82783
SHA-256: 99528c0a5e270b47ef720bfc91f5ee9164b189762be630b519e3ae0eca0aa0c2
Download zip
171.7 KB
MD5: 2a4a1cae474bb017f1dc99823a7b92ad
SHA-1: 70b03b6c7868ced71ed0b3ca596ad83e76c2adc0
SHA-256: a24333f15b0d842d427d9c1ed58c4b3aae2924dc074c63f66f8024721c1fed97
Release notes
This is still somewhat work-in-progress. Do not use in production!
Contributors (35)
cmlara, darren.fisher, jcnventura, rosk0, grasmash, sourav_paul, beunerd, kalash-j, Bhanu951, andy_w, jeroen_vreuls, BryanDeNijs, zopa, Jeslin.Shaji, tbsiqueira, markdorison, silverham, yeniatencio, dpi, vatsalkhanna, alecsmrekar, benjifisher, greggles, Shreya_th, tannguyenhn, Chewi3, szato, leo liao, Barry_Fisher, technoveltyco, dunx, acbramley, ankitv18, thatguy, Martijn de Wit
Changelog
Issues: 45 issues resolved.
Changes since 2.0.0-alpha3:
Bug
- Fix error in composer.json
Changes since 2.0.0-alpha2:
Bug
- #3487347 by rosk0, cmlara: Admin cannot disable TFA for a user
- #3426189 by cmlara, grasmash: 2.x-dev incompatible with other modules calling user_login_finalize()
- #3464500 by sourav_paul, beunerd, cmlara: TfaTokenManagement::__construct(): Argument #4 ($logger) should allow \Psr\Log\LoggerInterface
- #3410444 by cmlara: Require TFA validation for SET_USER event
- #3417068 by cmlara: tfa.cache.memcache is not using memory cache backend
- #3405017: Security Fix: Authentication bypass when default plugin is not configured.
- #3410959 by cmlara: user.data service returns strings not integers
- #3395473 by Bhanu951, cmlara: Cleanup TfaTrustedBrowser Plugin save logic
- #3386910 by Bhanu951, yeniatencio, cmlara: Authenticator links clean up
- #3393468 by Bhanu951, cmlara: Unable to Disable TFA for a user
- #3350231 by alecsmrekar, cmlara: Error when trying to send email
- #2932071 by cmlara, benjifisher: Give more accurate feedback when canceling a plugin setup
- #3360319 by tannguyenhn: Operation link should be checked by current user
- #3364126 by Chewi3: Cancel on disable form for other user redirects to the current user TFA overview
- #3351698: Typehint for TfaBasePlugin $alreadyAccepted should be bool
- #3370595 by szato: Show correct label for confirm password
- #3371146 by markdorison, leo liao, Barry_Fisher, jcnventura: Creation of dynamic property TfaTotp::$isValid is deprecated
- #3333745 by technoveltyco, dunx, jcnventura: Trusted browser message when set to 1 day is "1 days" plural
- #3319595 by acbramley, ankitv18, jcnventura, thatguy, Martijn de Wit: Login plugins are always applied even when not enabled
Feature
- #3451696 by cmlara, darren.fisher, jcnventura: Add D11 Support
- #3108099 by Bhanu951, andy_w, jeroen_vreuls, BryanDeNijs, zopa, Jeslin.Shaji, tbsiqueira, markdorison: Redirect to validation setup after login without tfa
- #3381701 by Bhanu951, cmlara, silverham: Provide drush command to reset a user's TFA data
Task
- #3478161: Restore Code Coverage Reporting
- #3386547 by kalash-j, cmlara: Remove 'sms' from tfa_user_settings
- #3452078 by jcnventura: Fix phpcs issues
- #3395250 by cmlara, jcnventura: Remove the services_tfa module
- #3440400 by cmlara: Add Drush as a development dependency
- #3410085 by cmlara: Add support for Gitlab Pages and move some data from README
- #3412660 by cmlara: Restore Code Coverage reporting to GitLab CI Runs
- #3411989 by cmlara: 10.2.0 Deprecation Cleanup.
- #3314264 by cmlara: Switch to spomky-labs/otphp
- #3378072: Decorate the user.auth service.
- #3394219 by cmlara: Import canLoginWithoutTfa from SA-CONTRIB-2023-030
- #3396187: Update PHPStan Baseline
- #3386585: Add validateRequest() to TfaValidationInterface
- #3393464: TfaTrustedBrowser::validateForm() missing return statement
- #3393706 by cmlara: Cleanup new sniffs (automated)
- #3385051: Adopt GitlabCi
- #3388141 by cmlara: Mark classes as internal/final/api as applicable
- #3392068 by cmlara, dpi, jcnventura: Move TfaLoginContextTrait back to a dedicated Class and add factory
- #3385496: Add return, property, and parameter type hints to code
- #3089931 by vatsalkhanna, cmlara: Users are directed to TFA overview regardless of 'setup own tfa' permission
- #3386240 by cmlara: Convert from Prophecy to native PHPUnit mocks in Unit tests
- #3339277 by cmlara, Bhanu951, jcnventura, greggles: Inform admin that role does not have permission to setup own tfa
- #3383924 by Shreya_th, cmlara: Increase minimum core version to ^10.1 for 2.x