From bd3f3c3554c1847724b4b093de50cc8e188b2c56 Mon Sep 17 00:00:00 2001 From: ThomasV Date: Fri, 15 Jan 2016 11:24:19 +0100 Subject: [PATCH] fix issue #1610 --- plugins/trustedcoin/qt.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/plugins/trustedcoin/qt.py b/plugins/trustedcoin/qt.py index 1791c7a6..4b99e6d3 100644 --- a/plugins/trustedcoin/qt.py +++ b/plugins/trustedcoin/qt.py @@ -260,7 +260,9 @@ class Plugin(TrustedCoinPlugin): vbox = QVBoxLayout() if otp_secret is not None: uri = "otpauth://totp/%s?secret=%s"%('trustedcoin.com', otp_secret) - vbox.addWidget(QLabel("Please scan this QR code in Google Authenticator.")) + l = QLabel("Please scan the following QR code in Google Authenticator. You may as well use the following key: %s"%otp_secret) + l.setWordWrap(True) + vbox.addWidget(l) qrw = QRCodeWidget(uri) vbox.addWidget(qrw, 1) msg = _('Then, enter your Google Authenticator code:')