Skip to content

Commit 2af85ab

Browse files
committed
Addressing comments
1 parent b412855 commit 2af85ab

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

docs/2 - authentication.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ public $aliases = [
288288
'session' => \CodeIgniter\Shield\Filters\SessionAuth::class,
289289
'tokens' => \CodeIgniter\Shield\Filters\TokenAuth::class,
290290
'chain' => \CodeIgniter\Shield\Filters\ChainAuth::class,
291-
'auth-limit' => \CodeIgniter\Shield\Filters\AuthRates::class,
291+
'auth-rates' => \CodeIgniter\Shield\Filters\AuthRates::class,
292292
];
293293
```
294294

src/Filters/AuthRates.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,9 @@
1010
use CodeIgniter\Shield\Auth;
1111

1212
/**
13-
* Chain Authentication Filter.
13+
* Auth Rate-Limiting Filter.
1414
*
15-
* Checks all authentication systems specified within
16-
* `Config\Auth->authenticationChain`
15+
* Provides rated limiting intended for Auth routes.
1716
*/
1817
class AuthRates implements FilterInterface
1918
{

0 commit comments

Comments
 (0)