mirror of
https://github.com/Bubka/2FAuth.git
synced 2024-11-23 08:43:19 +01:00
Code cleaning & refactoring
This commit is contained in:
parent
6712613a20
commit
d448ed9122
@ -6,24 +6,24 @@
|
||||
use OTPHP\Factory;
|
||||
use Zxing\QrReader;
|
||||
use App\TwoFAccount;
|
||||
use chillerlan\QRCode\{QRCode, QROptions};
|
||||
use App\Classes\Options;
|
||||
use Illuminate\Http\File;
|
||||
use Illuminate\Http\Request;
|
||||
use Assert\AssertionFailedException;
|
||||
use Illuminate\Support\Facades\Storage;
|
||||
use chillerlan\QRCode\{QRCode, QROptions};
|
||||
|
||||
class QrCodeController extends Controller
|
||||
{
|
||||
/**
|
||||
* Return a QR code image
|
||||
*
|
||||
* @param \Illuminate\Http\Request $request
|
||||
* @param App\TwoFAccount $twofaccount
|
||||
* @return \Illuminate\Http\Response
|
||||
*/
|
||||
public function show(TwoFAccount $twofaccount)
|
||||
{
|
||||
|
||||
|
||||
$options = new QROptions([
|
||||
'quietzoneSize' => 2,
|
||||
'scale' => 8,
|
||||
|
Loading…
Reference in New Issue
Block a user