Koha-clms/t/db_dependent/selenium
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
..
00-onboarding.t Bug 19185: Add missing +x on new test files 2021-10-25 13:09:34 +02:00
01-installation.t Bug 19185: Add missing +x on new test files 2021-10-25 13:09:34 +02:00
administration_tasks.t Bug 29779: Make selenium tests return green even if lib is missing 2022-01-31 21:55:40 -10:00
authentication.t Bug 29915: (QA follow-up) Spelling 2022-03-22 10:17:33 -10:00
authentication_2fa.t Bug 28787: Send a notice with the TOTP token 2022-08-09 13:38:43 -03:00
basic_workflow.t Bug 25449: (QA follow-up) Fix basic_workflow.t 2022-07-21 09:40:46 -03:00
patrons_search.t Revert "Bug 31104: Add a selenium test" 2022-08-08 11:18:02 -03:00
regressions.t Bug 29860: Remove item type-related warnings 2022-06-01 15:59:07 -03:00
remove_from_cart.t Bug 29779: Make selenium tests return green even if lib is missing 2022-01-31 21:55:40 -10:00
self_registration.t Bug 29779: Make selenium tests return green even if lib is missing 2022-01-31 21:55:40 -10:00
update_child_to_adult.t Bug 30595: Prevent update_child_to_adult.t to fail randomly 2022-04-22 10:02:52 -10:00