Skip to content

Commit

Permalink
Update TwoFAServiceProvider.php
Browse files Browse the repository at this point in the history
  • Loading branch information
cbl authored Mar 22, 2021
1 parent 980166b commit fe87c55
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/TwoFAServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

namespace Litstack\TwoFA;

use Ignite\Application\Application;
use Ignite\Crud\CrudShow;
use Ignite\Crud\Form;
use Ignite\Foundation\Litstack;
Expand Down Expand Up @@ -45,7 +46,10 @@ public function boot()

$this->callAfterResolving('lit', function (Litstack $litstack) {
$litstack->script(__DIR__.'/../dist/2fa.js');
$litstack->loginScript(__DIR__.'/../dist/2fa-login.js');
});

$this->callAfterResolving('lit.app', function (Application $app) {
$app->loginScript(__DIR__.'/../dist/2fa-login.js');
});

$this->callAfterResolving('lit.form', function (Form $form) {
Expand Down

0 comments on commit fe87c55

Please sign in to comment.