mirror of
https://github.com/nikdoof/pocket-id.git
synced 2025-12-25 07:19:23 +00:00
feat: add location based on ip to the audit log
This commit is contained in:
@@ -2,6 +2,9 @@
|
||||
New Sign-In Detected
|
||||
====================
|
||||
|
||||
{{ if and .Data.City .Data.Country }}
|
||||
Approximate Location: {{ .Data.City }}, {{ .Data.Country }}
|
||||
{{ end }}
|
||||
IP Address: {{ .Data.IPAddress }}
|
||||
Device: {{ .Data.Device }}
|
||||
Time: {{ .Data.DateTime.Format "2006-01-02 15:04:05 UTC"}}
|
||||
|
||||
Reference in New Issue
Block a user