View | Details | Raw Unified | Return to bug 28786
Collapse All | Expand All

(-)a/installer/data/mysql/atomicupdate/two-fa.perl (+10 lines)
Line 0 Link Here
1
$DBversion = 'XXX'; # will be replaced by the RM
2
if( CheckVersion( $DBversion ) ) {
3
4
    $dbh->do(q{
5
        INSERT IGNORE INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `type` ) VALUES
6
        ('TwoFactorAuthentication', '0', 'NULL', 'Enables two-factor authentication', 'YesNo')
7
    });
8
9
    NewVersion( $DBversion, 28786, "Add new syspref TwoFactorAuthentication");
10
}
(-)a/installer/data/mysql/mandatory/sysprefs.sql (+1 lines)
Lines 687-692 INSERT INTO systempreferences ( `variable`, `value`, `options`, `explanation`, ` Link Here
687
('TransferWhenCancelAllWaitingHolds','0',NULL,'Transfer items when cancelling all waiting holds','YesNo'),
687
('TransferWhenCancelAllWaitingHolds','0',NULL,'Transfer items when cancelling all waiting holds','YesNo'),
688
('TranslateNotices','0',NULL, 'Allow notices to be translated','YesNo'),
688
('TranslateNotices','0',NULL, 'Allow notices to be translated','YesNo'),
689
('TrapHoldsOnOrder','1',NULL,'If enabled, Koha will trap holds for on order items ( notforloan < 0 )','YesNo'),
689
('TrapHoldsOnOrder','1',NULL,'If enabled, Koha will trap holds for on order items ( notforloan < 0 )','YesNo'),
690
('TwoFactorAuthentication', '0', 'NULL', 'Enables two-factor authentication', 'YesNo'),
690
('UNIMARCAuthorityField100','afrey50      ba0',NULL,'Define the contents of UNIMARC authority control field 100 position 08-35','Textarea'),
691
('UNIMARCAuthorityField100','afrey50      ba0',NULL,'Define the contents of UNIMARC authority control field 100 position 08-35','Textarea'),
691
('UNIMARCAuthorsFacetsSeparator',', ',NULL,'UNIMARC authors facets separator','short'),
692
('UNIMARCAuthorsFacetsSeparator',', ',NULL,'UNIMARC authors facets separator','short'),
692
('UNIMARCField100Language','fre',NULL,'UNIMARC field 100 default language','short'),
693
('UNIMARCField100Language','fre',NULL,'UNIMARC field 100 default language','short'),
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/preferences/staff_interface.pref (-1 / +6 lines)
Lines 188-190 Staff interface: Link Here
188
                  1: "Don't allow"
188
                  1: "Don't allow"
189
                  0: Allow
189
                  0: Allow
190
            - staff to login by means other than shibboleth.
190
            - staff to login by means other than shibboleth.
191
- 
191
        -
192
            - pref: TwoFactorAuthentication
193
              choices:
194
                  1: Enable
195
                  0: "Don't enable"
196
            - two-factor authentication (2FA).

Return to bug 28786