Module Two-Factor Authentication (2FA): Difference between revisions

Version 6.0.4: Google Authenticator fix, verified on Dolibarr 16 to 24
(Module update (editor: Theo Pequignot))
(Version 6.0.4: Google Authenticator fix, verified on Dolibarr 16 to 24)
 
(One intermediate revision by the same user not shown)
Line 18: Line 18:
|-
|-
! Version
! Version
| 6.0.3
| 6.0.4
|-
|-
! Dolibarr
! Dolibarr
Line 28: Line 28:
! Support
! Support
| [mailto:contact@theopequignot.fr contact@theopequignot.fr]
| [mailto:contact@theopequignot.fr contact@theopequignot.fr]
|-
! Presentation and support
| [https://modules.theopequignot.fr/modules/2fa?lang=en modules.theopequignot.fr]
|}
|}


Line 66: Line 69:
== Compatibility ==
== Compatibility ==


* Dolibarr 16 to 24 (verified on 16, 18, 20, 22, 23 and 24).
* Dolibarr 16 to 24 (verified on 16, 17, 18, 19, 20, 21, 22, 23 and 24).
* PHP 7.4 to 8.4, MySQL / MariaDB, OpenSSL extension.
* PHP 7.4 to 8.4, MySQL / MariaDB, OpenSSL extension.
* HTTPS required for WebAuthn / FIDO2 (a browser requirement).
* HTTPS required for WebAuthn / FIDO2 (a browser requirement).
Line 80: Line 83:
== Versions ==
== Versions ==


* '''6.0.4''' (14 October 2026): '''Google Authenticator rejected the QR code''' while other apps accepted it. The TOTP key is now 32 characters long (160 bits) instead of 20, a length Google Authenticator refused. Devices already registered keep working. When a code is right but the phone or server clock is off, the page now shows the drift instead of a plain "invalid code". Bigger QR code and clearer scan instructions.
* '''6.0.3''' (3 October 2026): '''security fix, update recommended on Dolibarr 16 to 18'''. On these versions the second factor was not asked: the check relied on a Dolibarr hook that only exists from version 19. It now goes through a hook present in every version and called on every request. On every version, document downloads and exports also require the verification.
* '''6.0.3''' (3 October 2026): '''security fix, update recommended on Dolibarr 16 to 18'''. On these versions the second factor was not asked: the check relied on a Dolibarr hook that only exists from version 19. It now goes through a hook present in every version and called on every request. On every version, document downloads and exports also require the verification.
* '''6.0.2''' (2 October 2026): administration page fixed, interface translated into French and English.
* '''6.0.2''' (2 October 2026): administration page fixed, interface translated into French and English.


== Support ==
== Support ==
Questions before buying, installation or update issues: write to [mailto:contact@theopequignot.fr contact@theopequignot.fr]. I am the developer of this module and I answer myself. Support and updates are included for 2 years with the DoliStore purchase.
Questions before buying, installation or update issues: write to [mailto:contact@theopequignot.fr contact@theopequignot.fr]. I am the developer of this module and I answer myself. Support and updates are included for 2 years with the DoliStore purchase. The full presentation of the module, its screenshots, frequently asked questions and the support form are on [https://modules.theopequignot.fr/modules/2fa?lang=en modules.theopequignot.fr]. Purchases are made on the DoliStore.
146

edits