mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-12-25 23:39:45 -05:00
parent
7659bbb711
commit
4437e6a609
@ -152,7 +152,7 @@ QString Totp::writeSettings(const QSharedPointer<Totp::Settings>& settings,
|
|||||||
auto urlstring = QString("otpauth://totp/%1:%2?secret=%3&period=%4&digits=%5&issuer=%1")
|
auto urlstring = QString("otpauth://totp/%1:%2?secret=%3&period=%4&digits=%5&issuer=%1")
|
||||||
.arg(title.isEmpty() ? "KeePassXC" : QString(QUrl::toPercentEncoding(title)),
|
.arg(title.isEmpty() ? "KeePassXC" : QString(QUrl::toPercentEncoding(title)),
|
||||||
username.isEmpty() ? "none" : QString(QUrl::toPercentEncoding(username)),
|
username.isEmpty() ? "none" : QString(QUrl::toPercentEncoding(username)),
|
||||||
QString(Base32::sanitizeInput(settings->key.toLatin1())),
|
QString(QUrl::toPercentEncoding(Base32::sanitizeInput(settings->key.toLatin1()))),
|
||||||
QString::number(settings->step),
|
QString::number(settings->step),
|
||||||
QString::number(settings->digits));
|
QString::number(settings->digits));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user