html::CSRFToken (public)
html::CSRFToken
Defined in packages/xotcl-core/tcl/30-widget-procs.tcl
Append a hidden CSRF token input to the current tDOM HTML output when a token is available for the request.
- Partial Call Graph (max 5 caller/called nodes):
- Testcases:
- No testcase defined.
Source code: ::if {[::info exists ::__csrf_token]} { ::html::input -type hidden -name __csrf_token -value $::__csrf_token {} }XQL Not present: Generic, PostgreSQL, Oracle