Add csrf to auth

This commit is contained in:
Owen
2025-08-18 12:22:32 -07:00
parent c29cd05db8
commit 9bdf31ee97

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",
}
};
}