fixed stuck yubikeys

This commit is contained in:
antelle 2020-05-06 21:06:19 +02:00
parent 88a0e63894
commit 06dd153955
No known key found for this signature in database
GPG Key ID: 094A2F2D6136A4EE
1 changed files with 1 additions and 1 deletions

View File

@ -118,7 +118,7 @@ class YubiKeyOtpModel extends ExternalOtpDeviceModel {
Launcher.spawn({
cmd: 'ykman',
args: ['config', 'usb', '-e', 'oath', '-f'],
args: ['-d', serial, 'config', 'usb', '-e', 'oath', '-f'],
noStdOutLogging: true,
complete: err => {
logger.info('Repair complete', err ? 'with error' : 'OK');