mirror of
https://github.com/pixelfed/pixelfed.git
synced 2025-01-10 06:00:45 +00:00
Merge pull request #5428 from pixelfed/staging
Update VerifyCsrfToken middleware, add oauth token. Fixes #5426
This commit is contained in:
commit
bf0a82f884
1 changed files with 2 additions and 1 deletions
|
@ -12,6 +12,7 @@ class VerifyCsrfToken extends Middleware
|
||||||
* @var array
|
* @var array
|
||||||
*/
|
*/
|
||||||
protected $except = [
|
protected $except = [
|
||||||
'/api/v1/*'
|
'/api/v1/*',
|
||||||
|
'oauth/token'
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue