user_login_notification
User Login Notification
Introduction
The User Login Notification module enhances site security by automatically sending an email notification to the site administrator whenever a user successfully logs in. The notification includes important login details such as the username, email address, login time, and IP address, helping administrators monitor user activity and maintain security awareness.
Summary:
Sends an email notification to site administrators whenever a user logs in, including username, email, login timestamp, and IP address for security monitoring.
The User Login Notification module provides a simple and effective way to track user login activity on your Drupal site.
Key Features
Sends an email notification on every successful user login.
Includes the following login details:
Username
Email address
Login timestamp
IP address
Uses Drupal's native mail system.
Lightweight and easy to configure.
Compatible with Drupal 10 || 11.
This module is useful for:
Monitoring login activity on sensitive or private websites.
Improving security awareness by notifying administrators of user access.
Auditing user login events without requiring a full logging solution.
Small to medium-sized sites that need simple login monitoring.
After installing and enabling the module:
Navigate to Extend and enable User Login Notification.
No additional configuration is required.
The module automatically starts monitoring successful user logins.
Whenever a user logs in, an email notification is sent to the site administrator email address configured in Drupal.
Special Considerations
Ensure your Drupal site is properly configured to send emails.
Verify that the site administrator email address is correctly configured under site settings.
Email delivery depends on your site's mail configuration.
This module requires:
Drupal 10 || 11
No additional contributed modules, external libraries, or third-party APIs are required.
The following modules can enhance email delivery and site monitoring:
SMTP Authentication Support – Improves email delivery reliability.
Mail System – Provides advanced mail handling and formatting options.
Login Security – Adds additional login protection and security features.
Several Drupal modules provide user activity logging and security monitoring. However, User Login Notification focuses on a specific use case:
Immediate email notifications for every successful login.
Minimal configuration and lightweight implementation.
Uses Drupal core mail functionality without requiring external services.
Provides essential login details directly in the notification email.
This makes it ideal for administrators who need simple, real-time visibility into user login activity.