Add user login notification suppression

This commit is contained in:
David Bomba 2023-10-18 17:43:26 +11:00
parent 25ceba275c
commit d49909e799
2 changed files with 5 additions and 2 deletions

View File

@ -28,6 +28,7 @@ class UserFactory
$user->failed_logins = 0;
$user->signature = '';
$user->theme_id = 0;
$user->user_logged_in_notification = true;
return $user;
}

View File

@ -5183,6 +5183,8 @@ $LANG = array(
'upcoming' => 'Upcoming',
'client_contact' => 'Client Contact',
'uncategorized' => 'Uncategorized',
'login_notification' => 'Login Notification',
'login_notification_help' => 'Sends an email notifying that a login has taken place.'
);
return $LANG;