Various code cleanup things.

This commit is contained in:
James Cole
2016-03-19 16:51:52 +01:00
parent 47d3cf1d45
commit ef6ef57e67
24 changed files with 24 additions and 27 deletions

View File

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