π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Reuse existing claim for recovery
Neeraj Guptaa1dbdfd6ba6a
diff --git a/server/ente/jwt/jwt.go b/server/ente/jwt/jwt.goindex b7d7b9d20a..567ff6bfb2 100644--- a/server/ente/jwt/jwt.go+++ b/server/ente/jwt/jwt.go@@ -2,7 +2,6 @@ package jwtimport ("errors"-"github.com/ente-io/museum/pkg/utils/time")@@ -23,6 +22,7 @@ func (c ClaimScope) Ptr() *ClaimScope {type WebCommonJWTClaim struct {UserID int64 `json:"userID"`ExpiryTime int64 `json:"expiryTime"`+ Email string `json:"email"`ClaimScope *ClaimScope `json:"claimScope"`}@@ -52,9 +52,3 @@ func (c PublicAlbumPasswordClaim) Valid() error {}return nil}--type AccountRecoveryParams struct {- Email string `json:"email"`- ExpiryTime int64 `json:"expiryTime"`- UserID int64 `json:"userID"`-}