Should fix issue #624

This commit is contained in:
James Cole 2017-04-01 08:56:39 +02:00
parent 6f933b3bd1
commit dd1d7bb02a
No known key found for this signature in database
GPG Key ID: C16961E655E74B5E

View File

@ -58,7 +58,7 @@ class PreferencesController extends Controller
{
$domain = $this->getDomain();
/** @noinspection PhpMethodParametersCountMismatchInspection */
$secret = $google2fa->generateSecretKey(32, auth()->user()->id);
$secret = $google2fa->generateSecretKey(16 ,'FIREFLYIII');
Session::flash('two-factor-secret', $secret);
$image = $google2fa->getQRCodeInline('Firefly III at ' . $domain, auth()->user()->email, $secret, 150);