mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Should fix issue #624
This commit is contained in:
parent
6f933b3bd1
commit
dd1d7bb02a
@ -58,7 +58,7 @@ class PreferencesController extends Controller
|
|||||||
{
|
{
|
||||||
$domain = $this->getDomain();
|
$domain = $this->getDomain();
|
||||||
/** @noinspection PhpMethodParametersCountMismatchInspection */
|
/** @noinspection PhpMethodParametersCountMismatchInspection */
|
||||||
$secret = $google2fa->generateSecretKey(32, auth()->user()->id);
|
$secret = $google2fa->generateSecretKey(16 ,'FIREFLYIII');
|
||||||
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('Firefly III at ' . $domain, auth()->user()->email, $secret, 150);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user