Skip to main content

two_factor_state

Function two_factor_state 

Source
pub fn two_factor_state(html: &str) -> Option<String>
Expand description

Which view of the settings page renders: off, setup or on, as its form’s data-two-factor names it; None when the page shows recovery codes instead.