Multi-user servers: email and invite codes at sign-up and sign-in
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user