Send email notifications whenever you log at a new location.
This package is auto-updated.
Last update: 2021-10-06 09:27:08 UTC
Statamic Login Notify is an addon for Statamic 3 that sends email notifications when a user logs into a new device.
- PHP 7.2+
- Statamic v3+
- Laravel 7+
composer require kind-work/login-notify
If you would like to send a map showing the location of the login in the email you will need to provide a valid key for the Google Maps Static API. I recommend you restrict this by IP address(es) to the IP(s) used by your servers.
Once you obtain this key add it to your environment variable:
Location lookup is done using the Laravel Location package. Refer to the documentation for this package to customize the location lookups.
If you would like to give users the ability to forget browsers where they have previously logged in you can add the Login Notify field type to the user blueprint with the key
title: User sections: main: display: Main fields: ... - handle: login_notify_valid_cookies field: type: login_notify localizable: false display: 'Remembered Browsers'
Please see the Release Notes for more information what has changed recently.
If you discover any security-related issues, please email firstname.lastname@example.org instead of using the issue tracker.
This is commercial software. You may use the package for your sites. Each site requires its own license. You can purchase a licence from The Statamic Marketplace.