From ed7049048cc4d12422c07ddbaa15fbb3662c0260 Mon Sep 17 00:00:00 2001 From: Vika Date: Thu, 15 Jun 2023 17:03:53 +0300 Subject: Add support for the IndieWeb Webring πŸ•ΈπŸ’ MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Optional at first. Onboarding UI not yet exposed. --- kittybox-rs/src/frontend/onboarding.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'kittybox-rs/src/frontend/onboarding.rs') diff --git a/kittybox-rs/src/frontend/onboarding.rs b/kittybox-rs/src/frontend/onboarding.rs index 88b533b..f797abd 100644 --- a/kittybox-rs/src/frontend/onboarding.rs +++ b/kittybox-rs/src/frontend/onboarding.rs @@ -72,6 +72,10 @@ async fn onboard( .await .map_err(FrontendError::from)?; + db.set_setting::(user.me.as_str(), false) + .await + .map_err(FrontendError::from)?; + let (_, hcard) = { let mut hcard = data.user; hcard["properties"]["uid"] = serde_json::json!([&user_uid]); -- cgit 1.4.1