]> git.koha-community.org Git - koha.git/commit
Bug 28998: (QA follow-up) Improve output on error
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Fri, 22 Apr 2022 09:46:06 +0000 (10:46 +0100)
committerFridolin Somers <fridolin.somers@biblibre.com>
Wed, 4 May 2022 15:18:31 +0000 (05:18 -1000)
commite225ee3b1597070677f4cd010c3da4aaac7d3ab8
treef4217042d31a74cefbaec98fb9c6ef3bdf3a8343
parentf300a7d3631c07618dd8a46b366288cc6680cd45
Bug 28998: (QA follow-up) Improve output on error

This patch updates the output_and_exit call to instead pass an error
parameter in the template and use it to display the warning instead of
the rest of the page content in the 'Manage two-factor authentication'
page.

This allows for translation and makes the page adhere to normal
practices.

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
koha-tmpl/intranet-tmpl/prog/en/modules/members/two_factor_auth.tt
members/two_factor_auth.pl