5 description => "Add an 'enforce' option for 'TwoFactorAuthentication' system preference",
8 my ($dbh, $out) = @$args{qw(dbh out)};
10 UPDATE systempreferences
11 SET options="enforced|enabled|disabled",
12 value=CASE value WHEN '1' THEN 'enabled' ELSE 'disabled' END,
14 WHERE variable="TwoFactorAuthentication"
17 say $out "Updated system preference 'TwoFactorAuthentication'";