Koha/installer
Jonathan Druart 6e099d0bbd
Bug 28787: Send a notice with the TOTP token
Bug 28786 let librarians enable a Two-factor authentication but force them to use
an application to generate the TOTP token.

This new enhancement add the ability to send an email containing the token to the
patron once it's authenticaed

The new notice template has the code '2FA_OTP_TOKEN'

Test plan:
- Setup the two-factor authentication (you need the config entry and the
syspref ON)
- Enable it for your logged in patron
- Logout
- Login and notice the new link "Send the code by email"
- Click on it and confirm that you received an email with the code
- Use the code to be fully logged in

QA question: Is 400 the correct error code to tell the email has not
been sent?

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>

Sponsored-by: Rijksmuseum, Netherlands

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2022-08-09 13:38:43 -03:00
..
data/mysql Bug 28787: Send a notice with the TOTP token 2022-08-09 13:38:43 -03:00
externalmodules.pl Bug 21395: Make perlcritic happy 2020-06-29 12:37:02 +02:00
install.pl Bug 19821: Use database_test entry if exists 2021-10-25 11:27:40 +02:00
onboarding.pl Bug 29012: Add default values for blank circulation rules that weren't saved to the database 2022-07-29 15:44:39 -03:00