mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-06 12:45:30 +00:00
Generate key [skip ci]
This commit is contained in:
@@ -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'));
|
||||
|
Reference in New Issue
Block a user