Merge pull request #5428 from pixelfed/staging

Update VerifyCsrfToken middleware, add oauth token. Fixes #5426
This commit is contained in:
daniel 2025-01-04 14:50:53 -07:00 committed by GitHub
commit bf0a82f884
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -12,6 +12,7 @@ class VerifyCsrfToken extends Middleware
* @var array
*/
protected $except = [
'/api/v1/*'
'/api/v1/*',
'oauth/token'
];
}