Admin Dashboard overview

This commit is contained in:
2024-04-24 16:02:16 +02:00
parent 18bb6bffa7
commit d38ad87220
9 changed files with 111 additions and 18 deletions

View File

@@ -1470,6 +1470,10 @@ namespace Core\API\User {
'token' => new StringType('token', 36),
));
$this->userToken = null;
$this->rateLimiting = new RateLimiting(
new RateLimitRule(10, 30, RateLimitRule::SECOND),
new RateLimitRule(30, 1, RateLimitRule::MINUTE),
);
}
public function getToken(): ?UserToken {