From 536d4da4a1f6fc78958d43d47413dc05bd07d490 Mon Sep 17 00:00:00 2001 From: Tarfa Hachem Date: Thu, 28 Mar 2019 20:36:11 -0700 Subject: [PATCH] fixes #254 -- rendering qr code --- aws/spec/mfadevice.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aws/spec/mfadevice.go b/aws/spec/mfadevice.go index 0a52d76de..d31055ee8 100644 --- a/aws/spec/mfadevice.go +++ b/aws/spec/mfadevice.go @@ -73,7 +73,7 @@ func (cmd *CreateMfadevice) ManualRun(renv env.Running) (interface{}, error) { if err != nil { return nil, fmt.Errorf("encode qrcode: %s", err) } - qrCodeDisplaySize := 40 + qrCodeDisplaySize := 43 qrcode, err = barcode.Scale(qrcode, qrCodeDisplaySize, qrCodeDisplaySize) if err != nil { return nil, fmt.Errorf("scale qrcode: %s", err)