kopia lustrzana https://github.com/pixelfed/pixelfed
Update VerifyCsrfToken middleware, add oauth token. Fixes #5426
rodzic
27f1cdb6e4
commit
79ebbc2d9f
|
@ -12,6 +12,7 @@ class VerifyCsrfToken extends Middleware
|
|||
* @var array
|
||||
*/
|
||||
protected $except = [
|
||||
'/api/v1/*'
|
||||
'/api/v1/*',
|
||||
'oauth/token'
|
||||
];
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue