Fixes a bug in the 2FA activation thing.

This commit is contained in:
James Cole 2016-06-24 21:58:57 +02:00
parent 3d201db6fc
commit 93a54780ab

View File

@ -66,10 +66,8 @@ class FireflyValidator extends Validator
}
$secret = Session::get('two-factor-secret');
/** @var Google2FA $google2fa */
$google2fa = app(Google2FA::class);
return $google2fa->verifyKey($secret, $value);
return Google2FA::verifyKey($secret, $value);
}
/**