Skip to content

Commit 78bbfb2

Browse files
authored
Update README.md
1 parent 5121615 commit 78bbfb2

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

README.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ In the config/app.php file:
2222
``` php
2323
[
2424
//...
25-
"Lahaxearnaud\U2f\LaravelU2fServiceProvider"
25+
Lahaxearnaud\U2f\U2fServiceProvider::class,
2626
]
2727
```
2828

@@ -32,15 +32,14 @@ In the config/app.php file:
3232
``` php
3333
[
3434
//...
35-
'U2f' => 'Lahaxearnaud\U2f\U2fServiceFacade'
35+
'U2f' => Lahaxearnaud\U2f\U2fFacade::class,
3636
]
3737
```
3838

3939
### Configs
4040

4141
``` bash
4242
$ php artisan vendor:publish --provider="Lahaxearnaud\U2f\U2fServiceProvider" --tag=config
43-
$ php artisan migrate
4443
```
4544

4645
### Migrations
@@ -57,7 +56,7 @@ In the app/Http/Kernel.php file
5756
``` php
5857
protected $routeMiddleware = [
5958
// ...
60-
'u2f' => 'Lahaxearnaud\U2f\Http\Middleware\U2f',
59+
\Lahaxearnaud\U2f\Http\Middleware\U2f::class,
6160
];
6261
```
6362

0 commit comments

Comments
 (0)