Add csrf to auth

This commit is contained in:
Owen 2025-08-18 12:22:32 -07:00
parent c29cd05db8
commit 9bdf31ee97
No known key found for this signature in database
GPG key ID: 8271FDFFD9E0CCBD

View file

@ -156,7 +156,8 @@ export class TokenManager {
async getAuthHeader() {
return {
headers: {
Authorization: `Bearer ${await this.getToken()}`
Authorization: `Bearer ${await this.getToken()}`,
"X-CSRF-Token": "x-csrf-protection",
}
};
}