mirror of
https://github.com/Yubico/yubikey-val.git
synced 2024-11-29 00:24:13 +01:00
parent
fd7bc98dd4
commit
62062a55db
@ -69,7 +69,7 @@ if (!$r) {
|
|||||||
# Enable/Disable the yubikey
|
# Enable/Disable the yubikey
|
||||||
if (!$db->updateBy('yubikeys', 'yk_publicname', $yk,
|
if (!$db->updateBy('yubikeys', 'yk_publicname', $yk,
|
||||||
array('active'=>($do == "enable" ? "1" : "0")))) {
|
array('active'=>($do == "enable" ? "1" : "0")))) {
|
||||||
logdie($myLog, "ERROR Could not $do for $yk (rows $rows)");
|
logdie($myLog, "ERROR Could not $do for $yk");
|
||||||
}
|
}
|
||||||
|
|
||||||
# We are done
|
# We are done
|
||||||
|
Loading…
Reference in New Issue
Block a user