Generate key [skip ci]

This commit is contained in:
James Cole
2017-10-22 20:25:40 +02:00
parent 3f681bf71b
commit 1217ff7a7f

View File

@@ -69,7 +69,7 @@ class PreferencesController extends Controller
$domain = $this->getDomain();
$secret = $google2fa->generateSecretKey();
Session::flash('two-factor-secret', $secret);
$image = $google2fa->getQRCodeInline('Firefly III at ' . $domain, auth()->user()->email, $secret, 150);
$image = $google2fa->getQRCodeInline($domain, auth()->user()->email, $secret, 200);
return view('preferences.code', compact('image'));