This commit is contained in:
Dag 2024-08-30 00:00:35 +02:00
parent ca86d03b55
commit 51d43d9977
2 changed files with 2 additions and 2 deletions

View File

@ -26,7 +26,7 @@ final class RssBridge
new SecurityMiddleware(),
new MaintenanceMiddleware(),
new BasicAuthMiddleware(),
new TokenAuthentication(),
new TokenAuthenticationMiddleware(),
];
$action = function ($req) use ($handler) {
return $handler($req);

View File

@ -2,7 +2,7 @@
declare(strict_types=1);
class TokenAuthentication implements Middleware
class TokenAuthenticationMiddleware implements Middleware
{
public function __invoke(Request $request, $next): Response
{