mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-09 23:15:45 -06:00
Key without lengt. [skip ci]
This commit is contained in:
parent
1a325f4978
commit
3f681bf71b
@ -67,7 +67,7 @@ class PreferencesController extends Controller
|
||||
public function code(Google2FA $google2fa)
|
||||
{
|
||||
$domain = $this->getDomain();
|
||||
$secret = $google2fa->generateSecretKey(16);
|
||||
$secret = $google2fa->generateSecretKey();
|
||||
Session::flash('two-factor-secret', $secret);
|
||||
$image = $google2fa->getQRCodeInline('Firefly III at ' . $domain, auth()->user()->email, $secret, 150);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user