From cc26ce4143ff870e6df102be94d019545c41f04a Mon Sep 17 00:00:00 2001 From: James Cole Date: Sun, 20 Mar 2016 16:49:49 +0100 Subject: [PATCH] Some scrutiniser related code cleanup. --- app/Validation/FireflyValidator.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app/Validation/FireflyValidator.php b/app/Validation/FireflyValidator.php index 1a14187fa3..fffb7dc2e5 100644 --- a/app/Validation/FireflyValidator.php +++ b/app/Validation/FireflyValidator.php @@ -16,6 +16,7 @@ use FireflyIII\Models\TransactionType; use FireflyIII\Repositories\Budget\BudgetRepositoryInterface; use FireflyIII\Rules\Triggers\TriggerInterface; use FireflyIII\User; +use Google2FA; use Illuminate\Contracts\Encryption\DecryptException; use Illuminate\Validation\Validator; use Log; @@ -60,6 +61,7 @@ class FireflyValidator extends Validator } $secret = Session::get('two-factor-secret'); + /** @var Google2FA $google2fa */ $google2fa = app('PragmaRX\Google2FA\Google2FA'); return $google2fa->verifyKey($secret, $value);