From 3b2276436802697f20667c6515c13d8b88d82b63 Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Thu, 21 Sep 2017 23:35:42 -0400 Subject: [PATCH] adjust authenticator qr code --- src/app/settings/settingsTwoStepAuthenticatorController.js | 2 +- src/app/settings/views/settingsTwoStepAuthenticator.html | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/app/settings/settingsTwoStepAuthenticatorController.js b/src/app/settings/settingsTwoStepAuthenticatorController.js index 2cd255e1dc..0bedfc3d3b 100644 --- a/src/app/settings/settingsTwoStepAuthenticatorController.js +++ b/src/app/settings/settingsTwoStepAuthenticatorController.js @@ -44,7 +44,7 @@ $scope.model = { key: formatString(_key), - qr: 'https://chart.googleapis.com/chart?chs=123x123&chld=L|0&cht=qr&chl=otpauth://totp/' + + qr: 'https://chart.googleapis.com/chart?chs=160x160&chld=L|0&cht=qr&chl=otpauth://totp/' + _issuer + ':' + encodeURIComponent(_profile.email) + '%3Fsecret=' + encodeURIComponent(_key) + '%26issuer=' + _issuer diff --git a/src/app/settings/views/settingsTwoStepAuthenticator.html b/src/app/settings/views/settingsTwoStepAuthenticator.html index 14edc9687e..70e6bb6bde 100644 --- a/src/app/settings/views/settingsTwoStepAuthenticator.html +++ b/src/app/settings/views/settingsTwoStepAuthenticator.html @@ -74,10 +74,10 @@

2. Scan this QR code with your authenticator app

-
+

QR

-
+

Can't scan the code? You can add the code to your application manually using the following details: