The login notification module allows site administrators to construct multiple notification messages, which will be displayed upon user login. The module utilizes the conditional plugin system to restrict what messages a user receives.
-
Install as usual, see https://www.drupal.org/docs/8/extending-drupal-8/installing-contributed-modules-find-import-enable-configure-drupal-8 for further information.
-
Navigate to
/admin/config/system/login-notification
. -
Create a new notification and configure the message verbiage and conditions as needed.