Koha/koha-tmpl/intranet-tmpl/prog/en/modules
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
..
acqui Bug 10086: (QA follow-up) Fix TT filters 2022-08-09 08:57:22 -03:00
admin Bug 29897: (QA follow-up) Add valid $2 codes to pref description 2022-08-09 10:58:48 -03:00
authorities
basket
batch
catalogue Bug 31305: Remove type= from detail.pl 2022-08-08 13:11:53 -03:00
cataloguing
circ Bug 31265: Update style of time selection controls 2022-08-09 13:32:00 -03:00
clubs
course_reserves
errors
ill Bug 28909: Fix handling if backend doesn't support 2022-08-09 13:21:39 -03:00
installer
labels Bug 31220: (QA follow-up) Add missing filter 2022-08-03 11:49:56 -03:00
mana
members Bug 30874: Remove category_type 2022-08-05 14:51:36 -03:00
offline_circ
onboarding
patron_lists
patroncards Bug 28864: Have patron card creator use PatronsPerPage 2022-08-01 09:53:24 -03:00
plugins
pos Bug 31121: Fix date formatting in cashup summary modal 2022-07-22 14:48:43 -03:00
recalls
reports
reserve Bug 30992: Improve translatability for Waiting at|On hold 2022-08-05 11:52:45 -03:00
reviews
rotating_collections
serials Bug 30658: (bug 29496 follow-up) CheckMandatorySubfields don't work properly with select field in serials-edit.tt for Supplemental issue 2022-08-01 09:20:49 -03:00
services
suggestion
tags Bug 31319: Remove GetItemsInfo from tags/list.pl 2022-08-09 12:03:28 -03:00
test
tools Bug 31269: Define sDefaultContent for DataTables 2022-08-01 09:18:00 -03:00
virtualshelves
about.tt Bug 30650: Add dayjs license to the about page 2022-07-29 15:01:50 -03:00
auth.tt Bug 28787: Send a notice with the TOTP token 2022-08-09 13:38:43 -03:00
intranet-main.tt Bug 27497: Display Koha version in staff interface home page 2022-08-05 12:01:31 -03:00