π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
return null for any getSRP failure to fallback to ott login as backup
Abhinav1d91e26eb2a9
diff --git a/apps/photos/src/services/userService.ts b/apps/photos/src/services/userService.tsindex 5165f844b1..88c39b3a44 100644--- a/apps/photos/src/services/userService.ts+++ b/apps/photos/src/services/userService.ts@@ -554,11 +554,8 @@ export const getSRPAttributes = async (});return (resp.data as GetSRPAttributesResponse).attributes;} catch (e) {- if (e.status?.toString() === ServerErrorCodes.NOT_FOUND) {- return null;- }logError(e, 'failed to get SRP attributes');- throw e;+ return null;}};