@@ -, +, @@ --- installer/data/mysql/mandatory/sysprefs.sql | 2 +- .../prog/en/modules/admin/preferences/staff_interface.pref | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) --- a/installer/data/mysql/mandatory/sysprefs.sql +++ a/installer/data/mysql/mandatory/sysprefs.sql @@ -719,7 +719,7 @@ INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` ('TransferWhenCancelAllWaitingHolds','0',NULL,'Transfer items when cancelling all waiting holds','YesNo'), ('TranslateNotices','0',NULL, 'Allow notices to be translated','YesNo'), ('TrapHoldsOnOrder','1',NULL,'If enabled, Koha will trap holds for on order items ( notforloan < 0 )','YesNo'), -('TwoFactorAuthentication', '0', 'NULL', 'Enables two-factor authentication', 'YesNo'), +('TwoFactorAuthentication', 'disable', 'enforce|enabled|disabled', 'Enables two-factor authentication', 'Choice'), ('UNIMARCAuthorityField100','afrey50 ba0',NULL,'Define the contents of UNIMARC authority control field 100 position 08-35','Textarea'), ('UNIMARCAuthorsFacetsSeparator',', ',NULL,'UNIMARC authors facets separator','short'), ('UNIMARCField100Language','fre',NULL,'UNIMARC field 100 default language','short'), --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/staff_interface.pref +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/staff_interface.pref @@ -209,6 +209,7 @@ Staff interface: - - pref: TwoFactorAuthentication choices: - 1: Enable - 0: "Don't enable" - - two-factor authentication (2FA). + "enforce": Enforce + "enable": Enable + "disable": "Don't enable" + - two-factor authentication (2FA) for staff members. --