25896b62016618dfb87709ccc7a34226a2bf90e2
[koha-ffzg.git] / installer / data / mysql / atomicupdate / two-fa.perl
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 }