mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-12-28 16:59:44 -05:00
Parse TOTP input string before first save
This commit is contained in:
parent
d3ed14ebb7
commit
3640053415
@ -49,7 +49,7 @@ void SetupTotpDialog::setupTotp()
|
||||
}
|
||||
|
||||
quint8 step = m_ui->stepSpinBox->value();
|
||||
QString seed = m_ui->seedEdit->text();
|
||||
QString seed = QTotp::parseOtpString(m_ui->seedEdit->text(), digits, step);
|
||||
m_entry->setTotp(seed, step, digits);
|
||||
emit m_parent->entrySelectionChanged();
|
||||
close();
|
||||
|
Loading…
Reference in New Issue
Block a user