mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-03-23 20:48:33 -04:00
add key only if OTPEnabled
This commit is contained in:
parent
4298a000a0
commit
f8c31aea3e
@ -11412,13 +11412,13 @@ void MainWindow::sfox_tx() {
|
||||
otp_key = 0;
|
||||
LOG_INFO(QString("TOTP SF: Incorrect length"));
|
||||
}
|
||||
args.append(QString("OTP:%1").arg(otp_key));
|
||||
} else
|
||||
{
|
||||
showStatusMessage (tr ("TOTP SF: seed not long enough."));
|
||||
LOG_INFO(QString("TOTP SF: seed not long enough"));
|
||||
}
|
||||
}
|
||||
args.append(QString("OTP:%1").arg(otp_key));
|
||||
#else
|
||||
args.append(m_config.FoxKey());
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user