mirror of
https://github.com/pocket-id/pocket-id.git
synced 2026-02-16 17:35:17 +00:00
fix(email): display login location correctly if country or city is not present
This commit is contained in:
@@ -12,7 +12,8 @@ DETAILS
|
||||
|
||||
Approximate Location
|
||||
|
||||
{{.Data.City}}, {{.Data.Country}}
|
||||
{{if and .Data.City .Data.Country}}{{.Data.City}}, {{.Data.Country}}{{else if
|
||||
.Data.Country}}{{.Data.Country}}{{else}}Unknown{{end}}
|
||||
|
||||
IP Address
|
||||
|
||||
|
||||
Reference in New Issue
Block a user