Sha256: 1293e7b16876719a1d7e7cdfbd0f14f75a70409068eb0beb51cf3a4d014e1268

Contents?: true

Size: 132 Bytes

Versions: 24

Compression:

Stored size: 132 Bytes

Contents

export default () => {
  const tokenMeta = document.getElementsByName('csrf-token')[0];
  return tokenMeta && tokenMeta.content;
};

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
foreman_leapp-2.0.1 webpack/csrf.js
foreman_leapp-2.0.0 webpack/csrf.js
foreman_leapp-1.2.1 webpack/csrf.js
foreman_leapp-1.2.0 webpack/csrf.js
foreman_leapp-0.1.15 webpack/csrf.js
foreman_leapp-1.1.1 webpack/csrf.js
foreman_leapp-1.1.0 webpack/csrf.js
foreman_leapp-1.0.0 webpack/csrf.js
foreman_leapp-0.1.14 webpack/csrf.js
foreman_leapp-0.1.13 webpack/csrf.js
foreman_leapp-0.1.12 webpack/csrf.js
foreman_leapp-0.1.11 webpack/csrf.js
foreman_leapp-0.1.10 webpack/csrf.js
foreman_leapp-0.1.9 webpack/csrf.js
foreman_leapp-0.1.8 webpack/csrf.js
foreman_leapp-0.1.7 webpack/csrf.js
foreman_leapp-0.1.6 webpack/csrf.js
foreman_leapp-0.1.5 webpack/csrf.js
foreman_leapp-0.1.4 webpack/csrf.js
foreman_leapp-0.1.3 webpack/csrf.js