Skip to main content

csrf_inject_hidden_inputs

Function csrf_inject_hidden_inputs 

Source
pub fn csrf_inject_hidden_inputs(
    _app_root: &Path,
    html: &str,
    csrf_token: &str,
) -> String
Expand description

Adds the CSRF hidden-input fragment to POST forms without altering other markup.

§Parameters

§Returns

Returns the computed value produced by crate::runtime::dynamic::csrf_inject_hidden_inputs.

§Examples

ⓘ
let _result = pharos_native::runtime::dynamic::csrf_inject_hidden_inputs(todo!(), todo!(), todo!());