pub fn two_factor_state(html: &str) -> Option<String>
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.
off
setup
on
data-two-factor
None