Skip to content

Commit

Permalink
added TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
floodfx committed Jan 26, 2022
1 parent 4ea36d7 commit 4705168
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/server/socket/component_manager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ export class LiveViewComponentManager {
} catch (e) {
console.log("failed to decode session", e);
}
// TODO - check csfr token?
// TODO - compare csfr token with session _csrf?

const liveViewSocket = this.buildLiveViewSocket(ws, topic);
// pass in phx_join payload params, session, and socket
Expand Down

0 comments on commit 4705168

Please sign in to comment.