Skip to content

Commit 5c6bc72

Browse files
committed
refact: Remove internal deprec :: checkRateLimit
1 parent e4ebcca commit 5c6bc72

1 file changed

Lines changed: 0 additions & 11 deletions

File tree

src/Cms/Auth.php

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -72,17 +72,6 @@ public function __construct(
7272
$this->limits = new Limits($kirby);
7373
}
7474

75-
/**
76-
* Ensures that the rate limit was not exceeded
77-
*
78-
* @throws \Kirby\Exception\PermissionException If the rate limit was exceeded
79-
* @deprecated 6.0.0 Use `self::limits()->ensure()` instead
80-
*/
81-
protected function checkRateLimit(string $email): void
82-
{
83-
$this->limits->ensure($email);
84-
}
85-
8675
/**
8776
* Creates an authentication challenge
8877
* (one-time auth code)

0 commit comments

Comments
 (0)