Skip to content

Commit ed6e0a9

Browse files
authored
Middleware demo link is missing top subdirectory (#97)
* Middleware demo link is missing top subdirectory * Fix typo in "QRCode Backend" section * Update Laravel references to 6.x + another typo
1 parent 5e990dc commit ed6e0a9

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,13 @@ You can scan the QR code on [this (old) demo page](https://antoniocarlosribeiro.
4141
|---------|-----------|-------------------|
4242
| 4.2 | <= 1.0.1 | |
4343
| 5.0-5.1 | <= 1.0.1 | |
44-
| 5.2-5.6 | >= 2.0.0 | >= 0.2.0 |
44+
| 5.2-6.x | >= 2.0.0 | >= 0.2.0 |
4545

4646
Before Google2FA 2.0 (Laravel 5.1) you have to install `pragmarx/google2fa:~1.0`, because this package was both a Laravel package and a PHP (agnostic).
4747

4848
## Demo
4949

50-
Click [here](https://pragmarx.com/google2fa/middleware) to see the middleware demo:
50+
Click [here](https://pragmarx.com/playground/google2fa/middleware) to see the middleware demo:
5151

5252
![middleware](docs/middleware.jpg)
5353

@@ -60,7 +60,7 @@ Use Composer to install it:
6060

6161
## Installing on Laravel
6262

63-
### Laravel 5.5
63+
### Laravel 5.5 and above
6464

6565
You don't have to do anything else, this package autoloads the Service Provider and create the Alias, using the new Auto-Discovery feature.
6666

@@ -123,7 +123,7 @@ Route::get('/admin', function () {
123123

124124
There are three available: **imagemagick** (default), **svg** and **eps**.
125125

126-
You can hange it via config:
126+
You can change it via config:
127127

128128
``` php
129129
/*
@@ -211,7 +211,7 @@ use PragmaRX\Google2FALaravel\Support\Authenticator;
211211

212212
## Throttling / Lockout after X attempts
213213

214-
Unless you need somethig really fancy, you can probably use Laravel's [route throttle middleware](https://laravel.com/docs/5.8/middleware) for that:
214+
Unless you need something really fancy, you can probably use Laravel's [route throttle middleware](https://laravel.com/docs/6.x/middleware) for that:
215215

216216
```php
217217
Route::get('/admin', function () {

0 commit comments

Comments
 (0)