Multi-user servers: email and invite codes at sign-up and sign-in
ci / build (ubuntu-22.04) (push) Canceled after 0s
ci / build (windows-2025) (push) Canceled after 0s
ci / deny (push) Canceled after 0s

Create account takes an email and an invite or setup code (none with open
sign-up), joins servers that already have accounts, and Settings shows the
account email (admins manage people from the web vault).

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
2026-10-24 07:52:08 +07:00
co-authored by Claude Opus 5.5
parent 9dd43b76e9
commit b1c98f6376
4 changed files with 62 additions and 23 deletions
+2 -1
View File
@@ -73,7 +73,8 @@ async fn create_join_approve_and_sync() {
// A: "Create a new account".
let a = instance(da.path());
let sk = a.create_account(&server, vec![], &code, Zeroizing::new(PASSWORD.into())).await.unwrap();
let sk =
a.create_account(&server, vec![], &code, "[email protected]", Zeroizing::new(PASSWORD.into())).await.unwrap();
assert!(sk.starts_with("K1"));
assert!(a.status().logged_in);
assert!(a.status().last_sync_at.is_some(), "first sync after registration: {:?}", a.status().last_error);