]> git.koha-community.org Git - koha.git/commit
Bug 28998: (follow-up) Check missing encryption key in script and module
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Fri, 22 Apr 2022 08:04:51 +0000 (08:04 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Wed, 4 May 2022 15:18:31 +0000 (05:18 -1000)
commitf300a7d3631c07618dd8a46b366288cc6680cd45
tree48c35b3af3c15dae0488f93444b9262e1e58fc2f
parent54765867b27d2d15f49033ecf1e0c5b36a0176ef
Bug 28998: (follow-up) Check missing encryption key in script and module

Script prints a warning.
Module raises an exception.
Unit test added.

Test plan:
Run t/db_dependent/Koha/Encryption.t
Run t/db_dependent/Koha/Auth/TwoFactorAuth.t
Remove entry and check script.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
Koha/Encryption.pm
members/two_factor_auth.pl
t/db_dependent/Koha/Auth/TwoFactorAuth.t
t/db_dependent/Koha/Encryption.t