{# T27.1: per-session CSRF token. Mutating fetches read this and #} {# send it back in the X-CSRF-Token header; HTML forms include it #} {# as a hidden ``csrf_token`` field. Empty string when the request #} {# came in unauthenticated (we redirect to login before reaching #} {# render in that case; the empty value is defence-in-depth). #}
{{ scan_credits }} {% if scan_credits == 1 %}scan{% else %}scans{% endif %} remaining
credits on your account| Date | Site | Status | Report | {% if is_admin %}Debug | {% endif %}
|---|---|---|---|---|
| {{ s.scanned_at }} | {{ s.target_domain }} | {{ s.status }} | View → | {# T21 admin-only "View debug" link. Gated in-template via #} {# ``is_admin`` (resolved from ``user_role``) so a regular #} {# user doesn't even see the affordance. The route itself #} {# also enforces the admin-or-owner gate, defence in depth. #} {% if is_admin %}Debug → | {% endif %}
recon scan https://example.com from your CLI to see results here.