Skip to content

Commit

Permalink
Fix missing icon in alternating button key
Browse files Browse the repository at this point in the history
  • Loading branch information
iliajie committed Aug 1, 2024
1 parent c991bb8 commit 479c2e9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion authentic-init.pl
Original file line number Diff line number Diff line change
Expand Up @@ -1160,7 +1160,8 @@ sub get_button_style
} elsif (string_contains($keys, "twofactor_disable")) {
$class = "warning ";
$icon = "unlock";
} elsif (string_contains($keys, "zonekey")) {
} elsif (string_contains($keys, "zonekey") ||
string_contains($keys, "dt_zone_resign")) {
if ($keys eq "zonekey_disable") {
$class = "danger ";
$icon = " fa2 fa2-key-minus fa-1_15x";
Expand Down

0 comments on commit 479c2e9

Please sign in to comment.