π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
chore: set universal timezone
mngshm6a3ef27408b0
diff --git a/server/mail-templates/on_login.html b/server/mail-templates/on_login.htmlindex c2c628b3bf..9f7baf9071 100644--- a/server/mail-templates/on_login.html+++ b/server/mail-templates/on_login.html@@ -101,7 +101,7 @@font-size: 16px; " ><p>Hi,</p><p>- We detected a new login to your Ente account at {{ .Date }}.+ We detected a new login to your Ente account at {{ .Date }} UTC.<br><br>If this is not you, please reset your password. For any assistance or questions, please reply to this email.diff --git a/server/pkg/controller/user/userauth.go b/server/pkg/controller/user/userauth.goindex fe0a173a97..e7934b8c6a 100644--- a/server/pkg/controller/user/userauth.go+++ b/server/pkg/controller/user/userauth.go@@ -346,7 +346,7 @@ func (c *UserController) AddTokenAndNotify(userID int64, app ente.App, token strreturn}emailSendErr := emailUtil.SendTemplatedEmail([]string{user.Email}, "Ente", "[email protected]", emailCtrl.LoginSuccessSubject, emailCtrl.LoginSuccessTemplate, map[string]interface{}{- "Date": t.Now().Format("02 Jan, 2006 15:04"),+ "Date": t.Now().UTC().Format("02 Jan, 2006 15:04"),}, nil)if emailSendErr != nil {log.WithError(emailSendErr).Error("Failed to send email")