Function goatns::web::ui::user_settings::store_api_csrf_token
source · async fn store_api_csrf_token(
session: &mut Session,
expiry_plus_seconds: Option<i64>
) -> Result<String, String>
Expand description
Store a CSRF token with an expiry in the session store
Expiry defaults to 5 (minutes)