New Sign-In Detected
-Approximate Location
-{{ .Data.City }}, {{ .Data.Country }}
-IP Address
-{{ .Data.IPAddress }}
-Device
-{{ .Data.Device }}
-Sign-In Time
-{{ .Data.DateTime.Format "2006-01-02 15:04:05 UTC" }}
-diff --git a/backend/resources/email-templates/components/style_html.tmpl b/backend/resources/email-templates/components/style_html.tmpl index f907dbe..3251296 100644 --- a/backend/resources/email-templates/components/style_html.tmpl +++ b/backend/resources/email-templates/components/style_html.tmpl @@ -1,95 +1,92 @@ {{ define "style" }} {{ end }} diff --git a/backend/resources/email-templates/login-with-new-device_html.tmpl b/backend/resources/email-templates/login-with-new-device_html.tmpl index 6c2c811..919c651 100644 --- a/backend/resources/email-templates/login-with-new-device_html.tmpl +++ b/backend/resources/email-templates/login-with-new-device_html.tmpl @@ -1,36 +1,40 @@ {{ define "base" }} -
Approximate Location
-{{ .Data.City }}, {{ .Data.Country }}
-IP Address
-{{ .Data.IPAddress }}
-Device
-{{ .Data.Device }}
-Sign-In Time
-{{ .Data.DateTime.Format "2006-01-02 15:04:05 UTC" }}
-|
+ Approximate Location +{{ .Data.City }}, {{ .Data.Country }} + |
+ {{ end }}
+
+ IP Address +{{ .Data.IPAddress }} + |
+
|
+ Device +{{ .Data.Device }} + |
+
+ Sign-In Time +{{ .Data.DateTime.Format "2006-01-02 15:04:05 UTC" }} + |
+