An easy-to-host PDS on the ATProtocol, iPhone and MacOS. Maintain control of your keys and data, always.
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

style: fix stale comment in create_account token error handlers

authored by

Malpercio and committed by
Tangled
27d83ebc 51cb7533

+2 -2
+2 -2
apps/identity-wallet/src-tauri/src/lib.rs
··· 143 143 })?; 144 144 145 145 // 5. Store tokens in Keychain. 146 - // If either token write fails, clean up the private key (best-effort) to avoid 147 - // orphaning a key on the relay with no tokens to access it. 146 + // If session-token write fails, best-effort remove the already-written device-token. 147 + // The device key is persistent by design and is NOT cleaned up on failure. 148 148 keychain::store_item("device-token", body.device_token.as_bytes()).map_err(|_| { 149 149 // device-token write failed — nothing to clean up; the device key is persistent by design. 150 150 CreateAccountError::KeychainError