Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
paveljanda committed Dec 10, 2015
1 parent fab616f commit 8291b82
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Expand Up @@ -4,15 +4,15 @@ SimpleHttpAuth
1, Register extension in `config.neon`:

```
extensions:
simpleHttpAuth: Ublaboo\SimpleHttpAuth\DI\SimpleHttpAuthExtension
extensions:
simpleHttpAuth: Ublaboo\SimpleHttpAuth\DI\SimpleHttpAuthExtension
```

2, Tell which presenters shoul be secured (in case no presenter name given, all presenters are secured). Format - `Module:Module:Presenter`:

```
simpleHttpAuth:
username: admin
password: rbxpmYsPB6RSlqMIUV8i
presenters: [Front:Admin] # Secure presenter class App\FrontModule\Presenters\AdminPresenter
simpleHttpAuth:
username: admin
password: rbxpmYsPB6RSlqMIUV8i
presenters: [Front:Admin] # Secure presenter class App\FrontModule\Presenters\AdminPresenter
```

0 comments on commit 8291b82

Please sign in to comment.