1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-12-23 16:38:45 +01:00

adjust authenticator qr code

This commit is contained in:
Kyle Spearrin 2017-09-21 23:35:42 -04:00
parent 11336da6df
commit 3b22764368
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -74,10 +74,10 @@
<hr ng-if="enabled" />
<h4 ng-if="!enabled" style="margin-top: 30px;">2. Scan this QR code with your authenticator app</h4>
<div class="row">
<div class="col-md-4 text-center">
<div class="col-sm-4 text-center">
<p><img ng-src="{{model.qr}}" alt="QR" /></p>
</div>
<div class="col-md-8">
<div class="col-sm-8">
<p>
<strong>Can't scan the code?</strong> You can add the code to your application manually using the
following details: