mirror of
https://github.com/nikdoof/pocket-id.git
synced 2025-12-25 15:29:22 +00:00
feat(email): improve email templating (#27)
This commit is contained in:
12
backend/email-templates/login-with-new-device_text.tmpl
Normal file
12
backend/email-templates/login-with-new-device_text.tmpl
Normal file
@@ -0,0 +1,12 @@
|
||||
{{ define "base" -}}
|
||||
New Sign-In Detected
|
||||
====================
|
||||
|
||||
IP Address: {{ .Data.IPAddress }}
|
||||
Device: {{ .Data.Device }}
|
||||
Time: {{ .Data.DateTime.Format "2006-01-02 15:04:05 UTC"}}
|
||||
|
||||
This sign-in was detected from a new device or location. If you recognize
|
||||
this activity, you can safely ignore this message. If not, please review
|
||||
your account and security settings.
|
||||
{{ end -}}
|
||||
Reference in New Issue
Block a user