Skip to content

Commit 8fbc65b

Browse files
committed
Fix typos
1 parent 5f396e0 commit 8fbc65b

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

README.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Shielding a staging or demo website from the public usually involves setting op
1313

1414
It doesn't have to be!
1515

16-
By installing StageFront with composer, adding the middleware and setting 3 variables in your `.env` you are ready to go. As you will discover below, you also have a bunch more options available.
16+
By installing StageFront with composer, adding the middleware and setting 3 variables in your `.env` file you are ready to go. As you will discover below, you also have a bunch more options available.
1717

1818
## Requirements
1919

@@ -27,7 +27,7 @@ Require the package via Composer:
2727
```
2828
composer require codezero/laravel-stagefront
2929
```
30-
Add the middleware to the web middleware group, **right after the `SartSession` middleware** in `app/Http/Kernel.php`:
30+
Add the middleware to the web middleware group, **right after the `StartSession` middleware** in `app/Http/Kernel.php`:
3131

3232
```php
3333
\CodeZero\StageFront\Middleware\RedirectIfStageFrontIsEnabled::class,
@@ -54,9 +54,10 @@ Enable StageFront and choose a login and password:
5454
| `STAGEFRONT_PASSWORD` | `string` | `stagefront` |
5555
| `STAGEFRONT_ENCRYPTED` | `bool` | `false` |
5656

57-
By default StageFront is disabled and uses a plain text password.
57+
By default StageFront is disabled and uses a plain text password when it's enabled.
5858

5959
If you set `STAGEFRONT_ENCRYPTED` to `true` the password should be a hashed value.
60+
6061
You can generate this using Laravel's `bcrypt('your password')` function.
6162

6263
## Database Logins
@@ -78,13 +79,16 @@ By default the `users` table is used with the `email` and `password` field names
7879
## Change Route URL
7980

8081
By default a `GET` and `POST` route will be registered with the `/stagefront` URL.
82+
8183
You can change the URL by setting this option:
8284

8385
| Option | Type | Default |
8486
| ---------------- | -------- | ------------ |
8587
| `STAGEFRONT_URL` | `string` | `stagefront` |
8688

87-
It runs under the `web` middleware since it uses the session to keep you logged in. You can change the middleware if needed in the [configuration file](#publish-configuration-file).
89+
It runs under the `web` middleware since it uses the session to keep you logged in.
90+
91+
You can change the middleware if needed in the [configuration file](#publish-configuration-file).
8892

8993
## Throttle Login Attempts
9094

0 commit comments

Comments
 (0)