mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-19 10:53:37 +00:00
Generate key [skip ci]
This commit is contained in:
@@ -69,7 +69,7 @@ class PreferencesController extends Controller
|
|||||||
$domain = $this->getDomain();
|
$domain = $this->getDomain();
|
||||||
$secret = $google2fa->generateSecretKey();
|
$secret = $google2fa->generateSecretKey();
|
||||||
Session::flash('two-factor-secret', $secret);
|
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'));
|
return view('preferences.code', compact('image'));
|
||||||
|
Reference in New Issue
Block a user