π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Add JWT model for account recovery
Neeraj Gupta74072b952d11
diff --git a/server/ente/jwt/jwt.go b/server/ente/jwt/jwt.goindex 34511f5e3c..b7d7b9d20a 100644--- a/server/ente/jwt/jwt.go+++ b/server/ente/jwt/jwt.go@@ -13,6 +13,7 @@ const (FAMILIES ClaimScope = "FAMILIES"ACCOUNTS ClaimScope = "ACCOUNTS"DELETE_ACCOUNT ClaimScope = "DELETE_ACCOUNT"+ RestoreAccount ClaimScope = "RestoreAccount")func (c ClaimScope) Ptr() *ClaimScope {@@ -51,3 +52,9 @@ func (c PublicAlbumPasswordClaim) Valid() error {}return nil}++type AccountRecoveryParams struct {+ Email string `json:"email"`+ ExpiryTime int64 `json:"expiryTime"`+ UserID int64 `json:"userID"`+}