Notify on login

Email after each successful sign-in with IP, country, and user-agent. Default off.

Settingtoggle.mod_sec_notify_login

Notify on login

After a successful sign-in (session created), send an email when outbound mail is configured.

Where to find it

Admin → Settings → Mods → Security → Notify on login

Setting key: toggle.mod_sec_notify_login

Default: off

Email template

Template key: security.login_notification

Subject (default): %site_name%: new sign-in to your account

Useful body vars: %username%, %login_time%, %ip%, %country%, %user_agent%, %site_name%

Edit under Settings → Emails. Country comes from GeoIP when available.

Common problems

No emails

Fix Email delivery first, then confirm the login notification template is enabled/present.

Too much mail for power users

Expected if they sign in often. Keep on for security-sensitive sites; otherwise leave off and use Confirm login from new country for rarer alerts.

Related