diff --git a/cortex/manage_passwords.py b/cortex/manage_passwords.py index 45d3428..04eb34e 100644 --- a/cortex/manage_passwords.py +++ b/cortex/manage_passwords.py @@ -163,8 +163,9 @@ def cmd_google_add(args): # Ensure the user directory exists (settings.home_root() / username).mkdir(parents=True, exist_ok=True) - # Store email; google_sub will be filled in on first sign-in + # Store in auth.json (google_sub filled in on first sign-in) + profile.json (for invites) link_google(username, sub="", email=email) + set_email(username, email) print(f"Google sign-in registered for {username!r}: {email}") print(f"They can now sign in at {settings.cortex_base_url}/login using that Google account.")