Implement new password verifier #1187

This commit is contained in:
James Cole
2018-03-08 20:44:56 +01:00
parent bc32bc8831
commit 79d0450c77
3 changed files with 77 additions and 20 deletions

View File

@@ -47,6 +47,7 @@ use FireflyIII\Repositories\TransactionType\TransactionTypeRepositoryInterface;
use FireflyIII\Repositories\User\UserRepository;
use FireflyIII\Repositories\User\UserRepositoryInterface;
use FireflyIII\Services\Password\PwndVerifier;
use FireflyIII\Services\Password\PwndVerifierV2;
use FireflyIII\Services\Password\Verifier;
use FireflyIII\Support\Amount;
use FireflyIII\Support\ExpandedForm;
@@ -176,6 +177,6 @@ class FireflyServiceProvider extends ServiceProvider
$this->app->bind(BudgetReportHelperInterface::class, BudgetReportHelper::class);
// password verifier thing
$this->app->bind(Verifier::class, PwndVerifier::class);
$this->app->bind(Verifier::class, PwndVerifierV2::class);
}
}