Custom email template
You can override the default email template:

Create the file:
templates/bundles/SpiriitAuthLogBundle/new_device.html.twigAvailable variables
| Variable | Type | Description |
|---|---|---|
userInformation.ipAddress | ?string | Client IP address |
userInformation.userAgent | ?string | Browser / device user agent |
userInformation.loginAt | ?DateTimeImmutable | Login timestamp |
userInformation.location | ?LocateValues | Geolocation (city, country, latitude, longitude) |
userReference.displayName | string | User display name |
userReference.email | string | User email |
userReference.userIdentity.userIdentifier | string | User identifier |
userReference.userIdentity.userClass | string | User class (FQCN) |
authenticationLog | AuthenticationLogInterface | The persisted log (getUser(), getLoginAt(), userIdentity()…) |
confirmationLinks | ?ConfirmationLinks | acknowledgeUrl / disavowUrl — only set when the confirmation feature is enabled |
authenticableLog | UserReference | Deprecated alias of userReference, removed in 4.0 |