Bugzilla – Attachment 141978 Details for
Bug 30588
Add the option to require 2FA setup on first staff login
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 30588: Add 'enforced' option to TwoFactorAuthentication
Bug-30588-Add-enforced-option-to-TwoFactorAuthenti.patch (text/plain), 2.39 KB, created by
Jonathan Druart
on 2022-10-17 15:05:11 UTC
(
hide
)
Description:
Bug 30588: Add 'enforced' option to TwoFactorAuthentication
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2022-10-17 15:05:11 UTC
Size:
2.39 KB
patch
obsolete
>From a7fe9f4454eb1efdda195b2de0b1f4e58b4db3ad Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Mon, 25 Jul 2022 15:34:47 +0200 >Subject: [PATCH] Bug 30588: Add 'enforced' option to TwoFactorAuthentication > >Sponsored-by: Rijksmuseum, Netherlands >--- > installer/data/mysql/mandatory/sysprefs.sql | 2 +- > .../prog/en/modules/admin/preferences/staff_interface.pref | 7 ++++--- > 2 files changed, 5 insertions(+), 4 deletions(-) > >diff --git a/installer/data/mysql/mandatory/sysprefs.sql b/installer/data/mysql/mandatory/sysprefs.sql >index 9f6d066976a..4eb3d96c7c2 100644 >--- a/installer/data/mysql/mandatory/sysprefs.sql >+++ b/installer/data/mysql/mandatory/sysprefs.sql >@@ -728,7 +728,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'), >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/staff_interface.pref b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/staff_interface.pref >index 32473520c4f..29c51d8d160 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/staff_interface.pref >+++ b/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. >-- >2.25.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 30588
:
138160
|
138161
|
138162
|
138163
|
138164
|
138165
|
138166
|
138191
|
138193
|
138953
|
138954
|
138955
|
138956
|
138957
|
138958
|
138959
|
138960
|
138961
|
138962
|
140365
|
140366
|
140367
|
140368
|
140369
|
140416
|
140417
|
140418
|
140419
|
140420
|
140421
|
140422
|
140423
|
140424
|
140425
|
140426
|
140427
|
140428
|
140429
|
140430
|
141978
|
141979
|
141980
|
141981
|
141982
|
141983
|
141984
|
141985
|
141986
|
141987
|
141988
|
141989
|
141990
|
141991
|
141992
|
142344
|
142345
|
142346
|
142347
|
142348
|
142349
|
142350
|
142351
|
142352
|
142353
|
142354
|
142355
|
142356
|
142357
|
142358