Browse Source

Fait un QRcode vide aussi grand que rempli

Christophe HENRY 2 years ago
parent
commit
ae91abaef3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      qrcode.php

+ 1 - 1
qrcode.php

@@ -10,7 +10,7 @@ switch($methode) {
     case 'qr': # qrcode.php?qr&label=A&user=B&key=C
         Functions::chargeVarRequest('label', 'user', 'key', 'issuer', 'algorithm', 'digits', 'period');
         if (empty($key)) {
-            $key = "*****";
+            $key = "**********";
         }
         $qrCode = "otpauth://totp/{$label}:{$user}?secret={$key}";
         foreach (array('issuer', 'algorithm', 'digits', 'period') as $champ)