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

@ -27,7 +27,8 @@ class UserFactory
$user->last_login = now();
$user->failed_logins = 0;
$user->signature = '';
$user->theme_id = 0;
$user->theme_id = 0;
$user->user_logged_in_notification = true;
return $user;
}

View File

@ -2405,7 +2405,7 @@ $LANG = array(
'currency_nicaraguan_córdoba' => 'Nicaraguan Córdoba',
'currency_malagasy_ariary' => 'Malagasy ariary',
"currency_tongan_pa_anga" => "Tongan Pa'anga",
'review_app_help' => 'We hope you\'re enjoying using the app.<br/>If you\'d consider :link we\'d greatly appreciate it!',
'writing_a_review' => 'writing a review',
@ -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;