]> git.koha-community.org Git - koha.git/commit
Bug 28998: (follow-up) Adjust the Auth.t fix
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Fri, 6 May 2022 06:32:51 +0000 (06:32 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Fri, 6 May 2022 08:58:45 +0000 (09:58 +0100)
commit56d690d67d471b9bea8386b3e2f228fb3745ffc5
tree7b15a2d3971d1f7203858d29444c93fd6ae2e8cf
parent145b7bf4b32c6898e656070187791346bb742c37
Bug 28998: (follow-up) Adjust the Auth.t fix

Move the encode_secret call where we need it (when pref is enabled
and patron switches to 2FA).
Mock the koha-conf encryption_key.
Disable 2FA when exiting subtest.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
t/db_dependent/Auth.t