MCPcopy Create free account
hub / github.com/error311/FileRise / getCsrfToken

Function getCsrfToken

public/js/appCore.js:49–51  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

47}
48
49export function getCsrfToken() {
50 return window.csrfToken || localStorage.getItem('csrf') || '';
51}
52
53/**
54 * Bootstrap/refresh CSRF from the server.

Callers 2

loadCsrfTokenFunction · 0.70
triggerLogoutFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected