Bug 28787: Don't send the notice if we are not waiting for 2FA
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 7 Jul 2022 17:28:38 +0000 (19:28 +0200)
committerTomas Cohen Arazi <tomascohen@theke.io>
Tue, 9 Aug 2022 16:38:44 +0000 (13:38 -0300)
commit950cfa1173676008b337b1439a237880321bbb2d
tree4e93461607db97d00d186616b3b4ce151c57d361
parent25c522fea13ff3d27188991b673d998d12262d1d
Bug 28787: Don't send the notice if we are not waiting for 2FA

If we are fully logged-in or haven't pass the password phase, don't send
the notice!

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>
Koha/REST/V1/Auth.pm
t/db_dependent/api/v1/two_factor_auth.t